Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-cxx latest

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.Language documentation]] 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
Esc

Type to search.

Reference previewOpen reference