Server.run_batch
Run several commands in one invocation.
Source and package
- Qualified name
-
libtmux::Server:: run _batch - Namespace
- libtmux
- Declared in
Server- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- [[
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_batch(const CommandBatch & batch) const; -
Description#
tmux runs a batch fail-fast, so a failed batch is partially applied rather than rolled back, and one exit status covers the group, so tmux does not identify which member failed.
- Parameters
-
-
batch(const CommandBatch &) #
-