# libtmux:open-client

- **Package:** libtmux
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/client.lisp#L225
- **Public owner:** libtmux
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-open-client/

```
(open-client &key (program "tmux") socket-name socket-path config-file (timeout 30) (output-limit (* 16 1024 1024)))
```

Open an SBCL/Linux subprocess client and check its tmux version.
Checks the runtime profile and required OS facilities before resolving PROGRAM.
An unsupported profile or facility signals UNSUPPORTED-PLATFORM; ERROR-FEATURE
identifies the requirement. PROGRAM must resolve to a native x86_64 ELF tmux
executable; pass the underlying binary when PATH selects a script or shim.
SOCKET-NAME and SOCKET-PATH are mutually exclusive; omission selects tmux's
default socket. No daemon is started. TIMEOUT is seconds; OUTPUT-LIMIT bounds
combined stdout/stderr bytes per command. Signals an operational condition on
version/launch failure. Returned configuration strings are owned by the client.

See also: `libtmux:close-client`, `libtmux:error-feature`, `libtmux:unsupported-platform`, `libtmux:with-client`.

## Parameters

- `program?`
- `socket-name?`
- `socket-path?`
- `config-file?`
- `timeout?`
- `output-limit?`

## Guides

Pages that discuss `open-client`.

- [Transport and cleanup](/en/lisp/latest/concepts/transport/)
