On this page
LibTmux.Pane.FromEnvironmentAsync
- Module
- LibTmux
- Declared in
- Pane
- Package
- LibTmux
- Source
- src/LibTmux/Pane.FromEnvironment.cs
- FromEnvironmentAsync ( environment : IReadOnlyDictionary<string, string>? , cancellationToken : CancellationToken ) Task<Pane>
-
Returns the pane this process was spawned in.
- Parameters
-
-
environment ( IReadOnlyDictionary<string, string>? ) – The environment, or null for the process.
-
cancellationToken ( CancellationToken ) – Cancels the tmux commands.
-
- Returns
-
The resolved pane.
- Raises
-
-
TmuxObjectNotFoundException – The environment does not name a pane, or tmux no longer has it.
-
Discussed in Environment
0 declared, 0 inherited