Core LibraryalphaAPI 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-cxx latest

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

Description#

That makes pane::exit_status == 0 exactly the panes that exited cleanly and pane::exit_status >= 0 exactly the ones that exited at all, rather than folding "still running" into status zero.

Esc

Type to search.

Reference previewOpen reference