Pane.pid
The process id of the program running in the pane, captured at the time of the read this handle came from.
Source and package
- Qualified name
-
io.github .libtmux .Pane. pid - Package
- io.github.libtmux
- Declared in
Pane- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Pane.java
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust Go C# C++ Swift Kotlin Scala OCaml F# Clojure
- @Operation(Kind
.CAPTURED ) public OptionalLong pid() -
Description#
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.
In other ports#
The process id of the program in a pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| Elixir | Lib |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Pane |
| Rust | pane |
| Go | no equivalent on Pane |
| C# | no equivalent on Pane |
| C++ | libtmux:: |
| Swift | no equivalent on Pane |
| OCaml | Libtmux |
| Perl | Lib Schema-validated captured data; reading performs no tmux I/O. |
No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.