# client_pid

Source: https://libtmux.org/en/tmux/latest/catalog/formats/client_pid/

> PID of client process

format variable tmux3.7c

PID of client process

* Scope

  Describes the client being formatted

* Type

  Text

* Usage

  `#{client_pid}`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/formats/client_pid/#description)

PID of client process

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/formats/client_pid/#releases)

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

## Source[#](https://libtmux.org/en/tmux/latest/catalog/formats/client_pid/#source)

* Defined in

  [`format.c:3251`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3251)

* C source reference

  [`format_cb_client_pid`](https://libtmux.org/en/tmux/latest/reference/c-function-format-c-format_cb_client_pid/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#client_pid)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/formats/client_pid/#used-by)

Library documentation that names this format variable.

* Go

  [`tmux.Client.ProcessPID`](https://libtmux.org/en/go/latest/reference/tmux-client-processpid/), [`tmux.FormatValues.ClientPID`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-clientpid/)

* Swift

  [`Client`](https://libtmux.org/en/swift/latest/reference/client/), [`Server.detach(_:)`](https://libtmux.org/en/swift/latest/reference/server-detach\(_-\)/)
