Skip to main content

spawn_detached

Function spawn_detached 

Source
pub fn spawn_detached(
    cmd: &mut Command,
    stderr: DetachedStderr,
) -> Result<DetachedChild>
Expand description

Spawn cmd as a detached background service (see the module docs). Only the program, arguments, environment changes and working directory of cmd are used; its stdio settings are replaced.