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

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 a connection_error with DeliveryStatus::not_started and leaves the connection usable. A command held in a string tmux parses later is not read; see the README.

Esc

Type to search.

Reference previewOpen reference