# io.github.libtmux.transport.CommandResult.CommandResult

- **Module:** io.github.libtmux.transport.CommandResult
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/transport/CommandResult.java#L15
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-transport-commandresult-commandresult/

One completed invocation.

A nonzero exit is data, not a failure. tmux reports an ordinary "no such pane" the same way it
reports a real problem, so only a higher-level method knows which one should raise.

## Members

- `succeeded` (method): Whether tmux reported success.
- `toString` (method): Counts only, because both channels carry captured terminal content.
