exit_status
A pane that has not exited reads -1, which tmux cannot report: the field is WEXITSTATUS and so is 0 through 255, or empty.
Source and package
- Qualified name
-
libtmux::pane:: exit _status - Namespace
- libtmux::pane
- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- exit_status : Number
Field <Pane>Handle -
Description#
That makes
pane::exit_status == 0exactly the panes that exited cleanly andpane::exit_status >= 0exactly the ones that exited at all, rather than folding "still running" into status zero.