Server.Environment
Gets the environment new sessions inherit from.
Source and package
- Qualified name
-
LibTmux .Server. Environment - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Scopes.cs
- Environment : Tmux
Environment
In other ports
task equivalence 9 other ports mappedSource-verified mappings for Read the server's global environment. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Gets the environment new sessions inherit from. | This page |
| Python | libtmux Show environment $ tmux show-environment -t [session]. | None recorded in the model |
| Ruby | Lib Behavior: Environment. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| TypeScript | server Every variable in the server's global environment. | None recorded in the model |
| Rust | server Read one variable from the server's environment. | async |
| Go | tmux ShowEnvironment returns an owned server-global non-hidden tmux environment. Completed command failures return an empty map unless strict errors are enabled. Externally injected multiline entries return ErrMalformedEnvironment because tmux's multi-entry output does not frame continuation lines. Decode errors are compatible with ErrMalformedEnvironment and return no partial map. | None recorded in the model |
| Swift | Server Every variable in an environment, in the order tmux printed them. | async |
| OCaml | Libtmux Acquire a bounded table through a read-only command process. Its response must identify the bound daemon while the original pidfd remains live. Unsupported external variable names fail decoding; they are not omitted. | Pass Environment.Global for server values or Environment.Session with a bound session target. Acquisition is explicit. |
| Raku | Lib Capture normal entries, or only hidden entries when requested explicitly. | Use the corresponding server or session environment facade. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Server
no equivalent on Server
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.