On this page
LibTmux.Server.RunShellAsync
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Execution.cs
- RunShellAsync ( request : RunShellRequest , cancellationToken : CancellationToken ) Task<IReadOnlyList<string>?>
-
Runs a shell command and reports what it printed.
The directory flag arrived in tmux 3.4, the error-output flag in 3.6, and passing arguments without a shell in 3.7.
- Parameters
-
-
request ( RunShellRequest ) – What to run, and how.
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
What the command printed, or null when tmux did not wait for it.
0 declared, 0 inherited