Skip to main content

spawn

Function spawn 

Source
pub fn spawn(
    command: &mut Command,
    stdio: SpawnStdio<'_>,
) -> Result<SpawnedChild>
Expand description

Spawn command as a contained child with caller-controlled stdio. Sanitized handles, CREATE_NO_WINDOW. Child dies when the returned SpawnedChild is dropped.