Workspace ManagerstableCLI Manual

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.

Edit this page on GitHub

Evaluate in a workspace

tmuxp 1.74.0 · Source

Open a Python shell with tmux objects available, or pass -c to evaluate a Python expression and exit.

After the installation walkthrough creates its dedicated server:

Terminal window
$ tmuxp shell \
-L workspace-guide \
-c 'print(server.sessions)'

Optional session and window arguments select a narrower context. --best chooses an available backend; explicit backends such as --ipython need their packages installed in the same Python environment.

--use-pythonrc and --no-startup control startup loading. The last occurrence wins. --use-vi-mode and --no-vi-mode follow the same ordering rule.

Command source.

Esc

Type to search.

Reference preview Open reference