Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

function libtmux stable

_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 preview Open reference