# common.CommandResult

- **Module:** common
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/libtmux/src/common.ts#L136
- **Page:** https://libtmux.org/en/ts/latest/reference/common-commandresult/

A finished `tmux` invocation, as the process left it.

[`cmd`](/en/ts/latest/reference/common-commandresult-cmd/) is the argument vector as run, so it includes the connection flags
this library adds. A non-zero [`exitCode`](/en/ts/latest/reference/common-commandresult-exitcode/) is not an exception here — the
callers that raise are the ones that promised a value.

## Members

### Other members

- [`cmd`](/en/ts/latest/reference/common-commandresult-cmd/) (property)
- [`exitCode`](/en/ts/latest/reference/common-commandresult-exitcode/) (property): The completed command's exit status, including nonzero tmux refusals.
- [`stderr`](/en/ts/latest/reference/common-commandresult-stderr/) (property)
- [`stdout`](/en/ts/latest/reference/common-commandresult-stdout/) (property)
