TmuxChain.ExecuteAsync
Runs every command in one tmux invocation.
Source and package
- Module
- LibTmux
- Declared in
- TmuxChain
- Package
- LibTmux
- Source
- src/LibTmux/Chaining/TmuxChain.cs
- ExecuteAsync ( cancellationToken : Cancellation
Token ) Task<TmuxCommand >Result -
Description#
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 ( Cancellation
Token ) – Cancels the tmux command.
-
- Returns
-
What that one invocation produced.
- Raises
-
-
Invalid
Operation – The chain has no commands.Exception -
Tmux
Command – tmux reported the run failed.Exception
-