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

Python API

Python documentation

libtmux.Session.show_environment

View as Markdown

Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/common.py
Other languages
RubyLuaTypeScriptRustGo Java .NET C++ Swift
show_environment ( self ) → dict[str, bool | str]
method [source]
method [source]
show_environment

Inherited from libtmux.common.EnvironmentMixin

Show environment $ tmux show-environment -t [session].

Return dict of environment variables for the session.

Returns

dict environmental variables in dict, if no name, or str if name entered.

Discussed in Environment

In other ports Read a session's environment

0 declared, 0 inherited

Esc

Type to search.