# mcp.exec.RunOutcome

- **Module:** mcp.exec
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/exec.rs#L58
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-exec-runoutcome/

How a run finished.

Split from the wait outcomes rather than shared with them: a run cannot
match a pattern and a wait cannot report a missing shell, and a vocabulary
carrying both would have an agent checking for answers that never come.

## Members

- `Completed` (constant): The command ran to completion and reported its status.
- `Deadline` (constant): The time the caller allowed ran out.
- `PaneClosed` (constant): The pane stopped writing for good.
- `Cancelled` (constant): The client withdrew the request while the run was still going.
- `NoShell` (constant): The pane never acknowledged the command.
