Skip to main content

run_command_with_timeout

Function run_command_with_timeout 

Source
pub fn run_command_with_timeout(
    program: &str,
    args: &[&str],
    cwd: &Path,
    timeout: Duration,
) -> Result<()>
Expand description

Helper: run a command with a configurable timeout.