StartServerOptions
Options for libtmux.Runtime:start_server().
Source and package
- Qualified name
-
libtmux.Start Server Options - Module
- libtmux
- Package
- libtmux
- Source
- lua/libtmux/_internal/server.lua
-
Description
binaryis the only required field. The server lives in a fresh directory underroot, with its socket inside, sorootplus about 45 bytes must fit a socket path (sun_path: 107 bytes on Linux, 103 on macOS and the BSDs); a longer root fails withinvalid_endpointbefore anything is created. The directory holds the daemon'sTMUX_TMPDIR, so a tmux client that names no socket cannot reach another server from inside it.The daemon inherits the caller's environment less
TMUX,TMUX_PANEand everyLIBTMUX_SOCKET*variable, plusenvironment.environmentcannot set those names orTMUX_TMPDIR. The daemon runs withexit-empty off, so it stays up with no session.