pub async fn execute_command( command: &str, dry_run: bool, attached: bool, ) -> Result<ExecutionResult>
Execute a command, or return the command without spawning in dry-run mode.