Skip to main content

run_command_with_timeout

Function run_command_with_timeout 

Source
pub fn run_command_with_timeout(
    cmd: &mut Command,
    timeout: Duration,
) -> Option<CapturedCommand>
Expand description

Run a Command with a timeout. Returns None on timeout (treated as failure by callers).