LibTmux.Mcp.RunResult
- public sealed record RunResult( string Pane
Id , int? ExitStatus , bool TimedOut , BoundedText Output, double ElapsedSeconds , double EffectiveTimeout , bool LinesSeconds Missed = false, bool AnchorLost = false, bool Started = true, bool PaneExited = false ); -
What a command did.
Description
The command runs in a subshell, so a
cdor anexportin it does not survive into the next call.- Parameters
-
-
ExitStatus(int?) – The shell's exit status, or null when the command did not finish in time. -
TimedOut(bool) – Whether waiting stopped before completion. The shell command may still be running; inspect the pane and do not retry it. -
Output(BoundedText ) – What the command printed, within the budget. -
ElapsedSeconds(double) – How long it took. -
EffectiveTimeoutSeconds(double) – The timeout actually used, after the server's ceiling. -
LinesMissed(bool) – Whether scrollback dropped output before it could be read.Default
false -
AnchorLost(bool) – Whether the pre-command output position could no longer be found.Default
false -
Started(bool) – Whether the command was seen to begin. A timeout with this false means the wrapper never ran, usually because the pane was not at an empty, ready shell prompt. The usual "it may still be running" does not apply; inspect the pane before retrying.Default
true -
PaneExited(bool) – Whether the pane's program exited before the command reported its status. The run ends then rather than at its timeout, with no exit status.Default
false
Properties10
| Name | Type | Description |
|---|---|---|
| PaneId | string | The pane it ran in. |
| ExitStatus | int? | The shell's exit status, or null when the command did not finish in time. |
| TimedOut | bool | Whether waiting stopped before completion. The shell command may still be running; inspect the pane and do not retry it. |
| Output | Bounded | What the command printed, within the budget. |
| ElapsedSeconds | double | How long it took. |
| EffectiveTimeoutSeconds | double | The timeout actually used, after the server's ceiling. |
| LinesMissed | bool | Whether scrollback dropped output before it could be read. |
| AnchorLost | bool | Whether the pre-command output position could no longer be found. |
| Started | bool | Whether the command was seen to begin. A timeout with this false means the wrapper never ran, usually because the pane was not at an empty, ready shell prompt. The usual "it may still be running" does not apply; inspect the pane before retrying. |
| PaneExited | bool | Whether the pane's program exited before the command reported its status. The run ends then rather than at its timeout, with no exit status. |