libtmux Reference MCP Search
On this page

libtmux::NewSessionOptions::environment

View as Markdown

Module
libtmux
Declared in
NewSessionOptions
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
environment : std::vector< std::pair< std::string, std::string > >
attribute [source]
attribute [source]
environment

Variables the new process starts with, on top of what tmux passes down.

Pairs rather than NAME=value strings: tmux takes a -e without an = without complaint and creates nothing, so the pair is joined here and a name carrying an = is refused where the command is built.

An empty value sets the variable to empty. It does not remove it.

0 declared, 0 inherited

Esc

Type to search.