Server.is_alive
Return True if tmux server alive.
Source and package
-
Description#
>>> tmux = Server(socket_name="no_exist")>>> assert not tmux.is_alive()
tmux command#
The tmux commands behind is_alive.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss is_alive.
In other ports#
Whether the server is running
| Language | Equivalent |
|---|---|
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | server |
| Rust | server |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | Explicit snapshot acquisition returns observed data or a typed failure; operational failures are not converted to false. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.