Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Python API

function libtmux latest

_is_daemon_not_up_error

Return True if the error indicates the tmux server is not running.

Source and package
Qualified name
libtmux.server._is_daemon_not_up_error
Module
libtmux.server
Package
libtmux
Source
src/libtmux/server.py
_is_daemon_not_up_error (stderr_text: str) → bool

Description#

tmux signals this in two ways:

  1. "no server running" (socket exists but no daemon is listening)
  2. "error connecting to ... (No such file or directory)" (socket file is missing)
Parameters
Esc

Type to search.

Reference previewOpen reference