On this page
tmux.Server.Kill
- 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
-
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.IsAliveto observe the daemon, and remove a socket path this process chose itself.In other languages Shut the tmux server down
- Python
libtmux.Server.kill - TypeScript
server.Server.kill - Rust
server.Server.kill - Java
io.github.libtmux.Server.Server.killServer - .NET
LibTmux.Server.KillAsync - C++
libtmux::Server::kill - Swift
Server.killServer()
- Python
0 declared, 0 inherited