run_with_timeout

Function run_with_timeout 

Source
pub async fn run_with_timeout(
    program: &str,
    args: &[String],
    timeout: Duration,
) -> Result<RunOutcome>
Expand description

Run a command with arguments, capturing stdout/stderr, with a timeout.