Skip to main content

execute_with_timeout

Function execute_with_timeout 

Source
pub fn execute_with_timeout(
    shell_cmd: &str,
    timeout_secs: u64,
) -> Result<String>
Expand description

Execute a command string with timeout (for shell commands)