# libtmux:outcome-exit-code

- **Package:** libtmux
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/transport.lisp#L14
- **Public owner:** libtmux
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-outcome-exit-code/

```
(outcome-exit-code outcome)

Primary method: libtmux:command-outcome:
(outcome-exit-code (command-outcome libtmux:command-outcome))
```

Return the subprocess's integer exit status, or NIL if unknown. No I/O.

## Methods

### `(outcome-exit-code (command-outcome libtmux:command-outcome))`

## Parameters

- `outcome` (for `outcome-exit-code(outcome)`)
- `command-outcome` (`libtmux:command-outcome`) (for `Primary method: libtmux:command-outcome`)

## Guides

Pages that discuss `outcome-exit-code`.

- [Transport and cleanup](/en/lisp/latest/concepts/transport/)
