Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

pane.Pane.pid

Rust

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
crates/libtmux/src/pane.rs
Other languages
Python TypeScript Go Java .NET C++ Swift
pid ( self ) → Option<u32>
method [source]
method [source]
pid

Return the process id of the pane's foreground process.

None for a pane with no process: tmux 3.8 reports #{pane_pid} as an empty string once the pane's process has exited (remain-on-exit keeps such a pane instead of closing it). A value is not evidence the process is still alive, on any release: every release before 3.8 keeps reporting the exited process's own pid rather than clearing the field, and a pid can be reused once its process is gone. Check Self::is_dead for liveness; do not infer it from this.

In other ports The process id of the program in a pane

0 declared, 0 inherited

Esc

Type to search.