Core Library0.xAPI 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.

method libtmux-java latest

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

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

Equivalents of The process id of the program in a pane in other languages
Language Equivalent
Python libtmux.Pane.pid
Lua libtmux.SnapshotPane.pid
Elixir LibTmux.Pane.pid
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Pane
Rust pane.Pane.pid
Go no equivalent on Pane
C# no equivalent on Pane
C++ libtmux::Pane::pid
Swift no equivalent on Pane
OCaml Libtmux.Pane.pid
Perl LibTmux::Pane::pid 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#.

Esc

Type to search.

Reference previewOpen reference