Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

SplitOptions.environment

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

Source and package
Qualified name
libtmux::window::SplitOptions::environment
Module
window
Declared in
SplitOptions
Package
libtmux
Source
crates/libtmux/src/window.rs
pub fn environment( mut self, name: impl Into<OsString>, value: impl Into<OsString> ) -> Self

Description#

Call this more than once for more than one variable. tmux applies these to the new process only, not to the session.

Parameters
Esc

Type to search.

Reference previewOpen reference