# LibTmux.FSharp.PaneRun.|Exited|Ended|NotStarted|TimedOut|

- **Module:** LibTmux.FSharp
- **Package:** LibTmux.FSharp
- **Language:** F#
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.FSharp/Library.fsi#L84
- **Page:** https://libtmux.org/en/fsharp/latest/reference/libtmux-fsharp-panerun-exited-ended-notstarted-timedout/

```
val |Exited|Ended|NotStarted|TimedOut|): result: PaneRunResult -> Choice<int, unit, unit, unit>
```

Tells how a run ended, one case per kind of ending, so a match that leaves one out draws a warning.

<c>Exited</c>: the command exited, carried as its exit status.
<c>Ended</c>: the pane's program exited before the command reported its status, and the run ended then.
<c>NotStarted</c>: the pane's shell never ran it, such as when the pane was not at a prompt.
<c>TimedOut</c>: the time allowed ran out first; the command may still be running.

## Parameters

- `result` (`PaneRunResult`)

## Raises

- [`System.ArgumentOutOfRangeException`](https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception): The result has none of these endings.
