Function await_child

Source
pub fn await_child<S>(program: S, child: Child) -> Result<Option<ChildStdout>>
where S: AsRef<OsStr>,
Expand description

Wait for a child process to finish and map failures to an appropriate error.