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

CommandExecutor.run

Absent timeout means the caller named none; absent limit means the same.

Source and package
Qualified name
libtmux::CommandExecutor::run
Namespace
libtmux
Declared in
CommandExecutor
Package
libtmux-cxx
Source
include/libtmux/command.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]] virtual expected<std::string, CommandFailure> run(const CommandRequest& command, std::optional<std::chrono::milliseconds> timeout, std::optional<std::size_t> output_limit) const = 0;

Description#

An implementation that cannot bound itself should refuse rather than wait forever, the way every transport here already does.

Esc

Type to search.

Reference previewOpen reference