Skip to main content

run_with_timeout

Function run_with_timeout 

Source
pub fn run_with_timeout(cmd: &mut Command, budget: Duration) -> TimedCommand
Expand description

Capture a child while this process remains alive. The internal helper uses this primitive; controller callers must use helper_command::HelperCommand so the deadline survives controller death. Incomplete or excess output cannot finish.