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.

Go API

attribute libtmux-go latest

ServerOptions.SocketPath

SocketPath selects an explicit tmux socket path.

Source and package
Qualified name
tmux.ServerOptions.SocketPath
Package
tmux
Declared in
ServerOptions
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_options.go
SocketPath : string

Description#

With neither SocketName nor SocketPath, the effective environment chooses: LIBTMUX_SOCKET_PATH is the socket path, else LIBTMUX_SOCKET is the socket name. A variable that is empty or only whitespace counts as unset, and any other value is used as written. With neither usable, tmux gets no socket and picks the server itself: the one TMUX names, otherwise its default socket. A named socket makes the variables unread.

Guides#

Pages that discuss SocketPath.

Esc

Type to search.

Reference previewOpen reference