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

io.github.libtmux.Pane.Pane.pid

Java

View as Markdown

Module
io.github.libtmux.Pane
Declared in
Pane
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Pane.java
Other languages
Python Ruby Lua TypeScript Rust Go .NET C++ Swift
pid ( ) → OptionalLong
method [source]
method [source]
pid

The process id of the program running in the pane, captured at the time of the read this handle came from.

Empty means tmux reported no process — never a literal 0, which would be indistinguishable from a real pid. That covers two different situations this capture cannot tell apart: a pane that never ran one ( SplitSpec.Builder#empty() ) and, from tmux 3.8, a pane that ran one and it has since died. Before 3.8 a dead pane still reports its stale pid. #dead() is the live read that tells a caller which.

Discussed in tmux field catalog · Format-token fields

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

0 declared, 0 inherited

Esc

Type to search.