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

Python API

Python documentation

libtmux.Server.is_alive

View as Markdown

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

Return True if tmux server alive.

>>> tmux = Server(socket_name="no_exist") >>> assert not tmux.is_alive()

Discussed in Socket and servers

In other ports Whether the server is running

0 declared, 0 inherited

Esc

Type to search.