Skip to main content

system_spawn_and_wait

Function system_spawn_and_wait 

Source
pub fn system_spawn_and_wait(
    cmd: &mut Command,
    on_pid: &mut dyn FnMut(u32),
) -> Result<ExitStatus>
Expand description

The controller: spawn with inherited stdio, hand the pid to on_pid, wait.