execute_command_with_options

Function execute_command_with_options 

Source
pub async fn execute_command_with_options(
    command: &str,
    cwd: Option<&str>,
    env: Option<&HashMap<String, String>>,
    timeout_secs: Option<u64>,
) -> Result<CommandResult, AppError>
Expand description

Execute a shell command asynchronously with cwd/env/timeout.