tmux.CommandTrace
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/observer.go
-
CommandTrace records one completed attempt to run a tmux command. It carries neither the argument vector nor tmux's output, both of which may hold passwords, tokens, or pane contents;
CommandErroris where a caller that accepts that reads them.
6 declared, 0 inherited
Members
- Duration attribute Duration is how long the attempt took.
- Err attribute Err is the transport or validation failure, if any. A completed tmux command that failed leaves this nil and reports through ExitCode.
- ExitCode attribute ExitCode is tmux's exit code, or -1 when no tmux command ran.
- String method String implements fmt.Stringer.
- Subcommand attribute Subcommand is the tmux subcommand, such as "list-sessions". A raw command list reports its first subcommand.
- Transport attribute Transport names how the command reached tmux.