TmuxCommandList
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- 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.
6 declared, 1 inherited
Members
- commands property
- init(_:) method
- init(arrayLiteral:) method Creates an instance initialized with the given elements.
- isEmpty property
- then(_:_:) method
- then(_:) method Appends a command, returning a new list.
Inherited members
Reached through Equatable.!=(_:_:).
- !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.