Session.Environment
Gets the environment panes created in this session inherit from.
Source and package
- Qualified name
-
LibTmux .Session. Environment - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Scopes.cs
- Environment : Tmux
Environment
In other ports
task equivalence 9 other ports mappedSource-verified mappings for Read a session's 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 panes created in this session 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 | session Every variable in this session's environment. | None recorded in the model |
| Rust | session Read one variable from the session's environment. | async |
| Go | tmux ShowEnvironment returns an owned session-scoped 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 Session
no equivalent on Session
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#.