NewSessionOptions.environment
Set an environment variable for the process the new session starts.
Source and package
- Qualified name
-
libtmux::server:: New Session Options:: environment - Module
- server
- Declared in
NewSessionOptions- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
Description#
Call this more than once for more than one variable. tmux applies these to the new process only, not to the session. The value is not format-expanded, so it needs no escaping.