# LibTmux.Pane.pid

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/entities.ex
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-pane-pid/

```elixir
LibTmux.Pane.pid: LibTmux.Schema.observed(non_neg_integer() | nil) = :unloaded
```

## Guides

Pages that discuss `pid`.

- [Captured tmux state](/en/elixir/pr-173/concepts/observations/)

## In other ports

The process id of the program in a pane

| Port | API | Differs from Elixir |
| --- | --- | --- |
| Elixir | `LibTmux.Pane.pid` | This page |
| Python | [`libtmux.Pane.pid`](/en/py/latest/reference/libtmux-pane-pid/) (attribute) | None recorded in the model |
| Lua | [`libtmux.SnapshotPane.pid`](/en/lua/latest/reference/libtmux-snapshotpane-pid/) (attribute) | None recorded in the model |
| Rust | [`pane.Pane.pid`](/en/rs/latest/reference/pane-pane-pid/) (method). Return the process id of the pane's foreground process. | None recorded in the model |
| Java | [`io.github.libtmux.Pane.pid`](/en/java/latest/reference/io-github-libtmux-pane-pane-pid/) (method). The process id of the program running in the pane, captured at the time of the read this handle came from. | None recorded in the model |
| C++ | [`libtmux::Pane::pid`](/en/cxx/latest/reference/libtmux-pane-pid-172a/) (method) | readonly |
| OCaml | [`Libtmux.Pane.pid`](/en/ocaml/latest/reference/libtmux-pane-pid/) (function). The captured process ID, absent when tmux reports no process. | None recorded in the model |
| Perl | [`LibTmux::Pane::pid`](/en/perl/latest/reference/libtmux-pane-pid/) (method). integer. Local captured data; no I/O. | Schema-validated captured data; reading performs no tmux I/O. |
| Raku | [`LibTmux::Model::Pane.pid`](/en/raku/latest/reference/libtmux-model-pane-pid/) (method). Captured pane_pid; local uint access. | None recorded in the model |

No Haskell equivalent. No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent. no equivalent on `Pane`

No Go equivalent. no equivalent on `Pane`

No C# equivalent. no equivalent on `Pane`

No Swift equivalent. no equivalent on `Pane`

No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.
