Connection.execute
Completes at this request's private protocol boundary and preserves every guarded block before it.
Source and package
- Qualified name
-
libtmux::Connection:: execute - Namespace
- libtmux
- Declared in
Connection- Package
- libtmux-cxx
- Source
- include/libtmux/control.hpp
-
Description#
This is wire evidence, not a final command result: tmux may end a block before a waiting job or file operation later reports unguarded output or failure. Use
Server::run()when final success or failure is required.Each command is held to the checks
Server::run()applies to a literal command, under its alias or any unique prefix, before anything is written. A refusal comes back as aconnection_errorwithDeliveryStatus::not_startedand leaves the connection usable. A command held in a string tmux parses later is not read; see the README.- Parameters