Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-dotnet latest

TmuxChain.ExecuteAsync

Namespace LibTmux.TmuxChain.ExecuteAsync LibTmux

Runs every command in one tmux invocation.

View as Markdown

Source and package
Module
LibTmux
Declared in
TmuxChain
Package
LibTmux
Source
src/LibTmux/Chaining/TmuxChain.cs
ExecuteAsync ( cancellationToken : CancellationToken ) → Task<TmuxCommandResult>
methodasync [source]

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
Returns

What that one invocation produced.

Raises
Esc

Type to search.