# tmux.ControlCommandResult

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/control_protocol.go#L38
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-controlcommandresult/

ControlCommandResult is one completed control-mode command frame. A failed tmux command remains result data through Failed; local, protocol, transport, and context failures are returned separately by [Connection.Call], [ControlClient.Cmd], and [ControlClient.Call]. All slices are owned by the caller.

## Members

- `Command` (attribute): Command is the safely encoded command's original argument vector.
- `RawStdout` (attribute): RawStdout contains exact frame payload bytes, including each line's LF.
- `Timestamp` (attribute): Timestamp is tmux's frame timestamp in Unix seconds.
- `Number` (attribute): Number is tmux's command number for the frame. tmux counts commands the server processed rather than commands this client sent, so a command from any other client advances it too and the gap between two frames is not a count of this client's work.
- `Flags` (attribute): Flags contains tmux's frame flags.
- `Failed` (attribute): Failed reports whether tmux closed the frame with %error instead of %end.
