libtmux Reference MCP Search
On this page

tmux.Server.Kill

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/lifecycle_kill.go
Other languages
PythonTypeScriptRustJava.NETC++Swift
Kill ( ctx : context.Context ) error
method [source]
method [source]
Kill

Kill terminates the configured tmux server and all of its sessions, windows, panes, and clients. After a completed failed kill, a liveness probe makes repeated calls harmless when no daemon answers. Transport or context errors can be delivery-ambiguous; no rollback is attempted.

tmux leaves the socket file in place, so cleanup that waits for the path to disappear does not finish. Use Server.IsAlive to observe the daemon, and remove a socket path this process chose itself.

In other languages Shut the tmux server down

0 declared, 0 inherited

Esc

Type to search.