Server.raise_if_dead
Raise if server not connected.
Source and package
- Qualified name
-
libtmux.Server .raise _if _dead - Module
- libtmux
- Declared in
- Server
- Package
- libtmux
- Source
- src/libtmux/server.py
- Other languages
- PowerShell Julia Ruby Lua TypeScript Rust GoJavaC# C++ Swift Kotlin Scala F#
-
- Raises
-
-
exc
.Tmux – When the tmux binary cannot be found or executed.Command Not Found -
subprocess
.Called – When the tmux server is not running (non-zero exit fromProcess Error list-sessions). -
>>> tmux = Server(socket
_name ="no_exist") -
... tmux.raise_if_dead()
-
<class 'subprocess.CalledProcessError'>
-
In other ports Fail unless the server is answering
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
- Rust no equivalent on
Server - Go
- Java
- C#
- C++ no equivalent on
Server - Swift no equivalent on
Server - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.