Extension methods for the standard
fn wait_timeout(&mut self, dur: Duration) -> Result<Option<ExitStatus>>
Wait for this child to exit, timing out after the duration
Ok(None) is returned then the timeout period elapsed without the
child exiting, and if
Ok(Some(..)) is returned then the child exited
with the specified exit code.