# tmux.ServerOptions.ProcessEnvironment

- **Module:** tmux.ServerOptions
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/server_options.go#L50
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-serveroptions-processenvironment/

ProcessEnvironment replaces the child process environment. Nil snapshots the current process environment. A non-nil empty slice supplies no caller-provided variables. Execution may add variables required by Go's target platform and a canonical TMUX_TMPDIR that freezes named or default socket selection. Duplicate names retain their last value. Entries containing NUL are rejected except on Plan 9, where NUL separates path-list elements. NewServer clones the slice.
