pub async fn execute_command( command: &str, cwd: Option<&str>, ) -> Result<CommandResult>
Execute a shell command asynchronously.