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

server.NewSessionOptions.environment

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
server
Declared in
NewSessionOptions
Package
libtmux
Source
crates/libtmux/src/server.rs
environment ( mut , name : impl Into<OsString> , value : impl Into<OsString> ) → Self
method [source]
method [source]
environment

Set an environment variable for the process the new session starts.

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.

0 declared, 0 inherited

Esc

Type to search.