Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

Python documentation

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
Other languages
Ruby Lua TypeScriptRustGoJava.NETC++Swift
kill ( self ) → None
method [source]
method [source]
kill

Kill tmux server.

>>> svr = Server(socket_name="testing") >>> svr Server(socket_name=testing)

>>> svr.new_session() Session(...)

>>> svr.is_alive() True

>>> svr.kill()

>>> svr.is_alive() False

In other ports Shut the tmux server down

0 declared, 0 inherited

Esc

Type to search.