spawn_then_wait

Function spawn_then_wait 

Source
pub fn spawn_then_wait(input: Result<SpawnStatus, Command>) -> Result<ProcessIo>
Available on crate feature std only.
Expand description

Spawns a process then wait for its child’s exit status.

This function builds a std::process::Command from the flow’s command builder, spawns a process, collects std{in,out,err} then waits for the exit status.