Skip to main content

spawn_daemon

Function spawn_daemon 

Source
pub fn spawn_daemon(extra_args: &[&str]) -> Result<()>
Expand description

Spawn vs serve detached. Inherits no stdio so the CLI process is not kept alive by the daemon’s pipes.

extra_args are passed after serve (e.g. --home=/tmp/x).