pub async fn run_cmd(
dir: PathBuf,
cmd: String,
timeout: Duration,
execution_mode: CommandExecutionMode,
) -> Result<CommandResult>pub async fn run_cmd(
dir: PathBuf,
cmd: String,
timeout: Duration,
execution_mode: CommandExecutionMode,
) -> Result<CommandResult>