pub fn wait_or_kill(
child: &mut Child,
timeout: Duration,
) -> Result<Option<ExitStatus>>Expand description
wait_timeout, then kill and reap a child still running at the deadline.
None when it had to be killed.
pub fn wait_or_kill(
child: &mut Child,
timeout: Duration,
) -> Result<Option<ExitStatus>>wait_timeout, then kill and reap a child still running at the deadline.
None when it had to be killed.