Skip to main content

wait_or_kill

Function wait_or_kill 

Source
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.