Server.run_chain
Run a chain.
Source and package
- Qualified name
-
libtmux::Server:: run _chain - Namespace
- libtmux
- Declared in
Server- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- Other languages
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust Go JavaC# Swift Kotlin Scala OCaml F# Clojure
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] expected<std::string , CommandFailure > run_chain(const Chain& chain) const; -
Description#
A chain that failed validation never reaches tmux, and says which step was wrong rather than surfacing a tmux message about it.
In other ports#
Run several commands in one tmux invocation
| Language | Equivalent |
|---|---|
| Python | no equivalent on Server |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Server |
| Rust | server |
| Go | no equivalent on Server |
| Java | io |
| C# | Lib |
| Swift | no equivalent on Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | batch executes ordered independent requests, not a tmux command list in one invocation; command chaining is deferred. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.