pub async fn run_claude(
claude: &Claude,
args: Vec<String>,
) -> Result<CommandOutput>Expand description
Run a claude command with the given arguments.
If the Claude client has a retry policy set, transient errors will be
retried according to that policy. A per-command retry policy can be passed
to override the client default.
Dropping the returned future mid-flight kills the spawned claude
process and its owned Unix process group (SIGKILL). Descendants that
leave that group are outside drop cleanup’s scope.