Skip to main content

launch_daemon

Function launch_daemon 

Source
pub async fn launch_daemon() -> Result<(), Box<dyn Error + Send + Sync>>
Expand description

Launch the daemon as a background process and wait until it prints its ready line on stdout. If the daemon exits first (e.g. a configuration error), the error includes everything it printed to stdout/stderr, which would otherwise be invisible for a detached process.