Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

attribute libtmux-go latest

CommandResult.ExitCode

ExitCode is tmux's completed process exit code, or -1 when no tmux command ran: this package refused the request, or a transport failed before tmux answered. A negative code is therefore never tmux's opinion of the request, and an error carrying one has a reason of its own.

Source and package
Qualified name
tmux.CommandResult.ExitCode
Package
tmux
Declared in
CommandResult
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/command.go
ExitCode : int
Esc

Type to search.

Reference previewOpen reference