Skip to main content

run_command_with_timeout

Function run_command_with_timeout 

Source
pub async fn run_command_with_timeout(
    cmd: &str,
    args: &[&str],
    cwd: &Path,
    timeout_secs: u64,
) -> Result<Output>
Expand description

Helper to run a command with custom timeout