On this page
LibTmux.Server.FromEnvironment
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.FromEnvironment.cs
- FromEnvironment ( environment : IReadOnlyDictionary<string, string>? ) Server
-
Returns the server whose pane this process was spawned in.
Only the socket path is used. The pid and session id in
TMUXare frozen at pane spawn, and the session id goes stale as soon as the pane's window moves between sessions. Costs no tmux subprocess.- Parameters
-
-
environment ( IReadOnlyDictionary<string, string>? ) – The environment, or null for the process.
-
- Returns
-
An unmaterialized handle for the exported socket.
- Raises
-
-
TmuxObjectNotFoundException – The environment does not name a tmux server.
-
Discussed in Environment
0 declared, 0 inherited