TmuxChain
Commands tmux runs together, in one process.
Source and package
- Qualified name
-
LibTmux. Tmux Chain - Namespace
- LibTmux
- Package
- LibTmux
- Source
- src/LibTmux/Chaining/TmuxChain.cs
-
Description
A one-shot call sends one command and waits for its answer. A chain hands tmux the whole sequence at once, so the commands run back to back in the order given, and a failure skips the ones after it, without another caller's command landing between them.
Building a chain reaches nothing; only
ExecuteAsync()does. Each step returns a new chain, so a partly built one can be shared without another caller's additions appearing in it.
Properties1
| Name | Type | Description |
|---|---|---|
| Commands | IRead | Gets the commands this chain will run, in order. |
Members2 members
- ExecuteAsync Runs every command in one tmux invocation.
- Then Adds one command and returns the longer chain.