On this page
LibTmux.TmuxChain.ExecuteAsync
- Module
- LibTmux
- Declared in
- TmuxChain
- Package
- LibTmux
- Source
- src/LibTmux/Chaining/TmuxChain.cs
- ExecuteAsync ( cancellationToken : CancellationToken ) Task<TmuxCommandResult>
-
Runs every command in one tmux invocation.
tmux runs the commands in order and prints their output as one stream, so the result belongs to the chain rather than to any single command. A command that fails stops the ones after it, which is tmux's own behavior for a grouped run rather than anything imposed here.
- Parameters
-
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
What that one invocation produced.
- Raises
-
-
InvalidOperationException – The chain has no commands.
-
TmuxCommandException – tmux reported the run failed.
-
0 declared, 0 inherited