On this page
TmuxCommandList
- Package
- libtmux-swift
- Source
- Sources/LibTmux/CommandList.swift
- struct TmuxCommandList : struct TmuxCommandList
-
Several tmux commands sent in one invocation.
tmux runs a
;-separated list in a single client connection, which saves a process and a round trip per command and keeps the list from interleaving with another caller's work.What it does *not* do is delimit the output: tmux concatenates everything onto one stream with nothing marking where one command's output ends. So a list answers "did all of this run, and what came out" — not "what did the third command say". Ask separately when you need per-command attribution.
7 declared, 0 inherited
Members
- !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
- init(_:) method
- init(arrayLiteral:) method Creates an instance initialized with the given elements.
- then(_:_:) method
- then(_:) method Appends a command, returning a new list.
- commands property
- isEmpty property