# pane_pid

Source: https://libtmux.org/en/tmux/3.2a/catalog/formats/pane_pid/

> PID of first process in pane

format variable tmux3.2a

PID of first process in pane

* Scope

  Describes the pane being formatted

* Type

  Text

* Usage

  `#{pane_pid}`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/pane_pid/#description)

PID of first process in pane

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/pane_pid/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/formats/pane_pid/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/formats/pane_pid/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/pane_pid/#source)

* Defined in

  [`format.c:2768`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L2768)

* C source reference

  [`format_cb_pane_pid`](https://libtmux.org/en/tmux/3.2a/reference/c-function-format-c-format_cb_pane_pid/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#pane_pid)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/pane_pid/#used-by)

Library documentation that names this format variable.

* Python

  [`libtmux_mcp.tools.pane_tools.respawn_pane`](https://libtmux.org/en/py/latest/mcp/reference/libtmux_mcp-tools-pane_tools-respawn_pane/)

* Rust

  [`pane.Pane.pid`](https://libtmux.org/en/rs/latest/reference/pane-pane-pid/)

* Go

  [`tmux.FormatValues.PanePID`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-panepid/), [`tmux.Pane.ProcessPID`](https://libtmux.org/en/go/latest/reference/tmux-pane-processpid/)
