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.

attribute libtmux-cxx latest

ExecutionPolicy.tmux_binary

Which tmux to run.

Source and package
Qualified name
libtmux::ExecutionPolicy::tmux_binary
Namespace
libtmux
Declared in
ExecutionPolicy
Package
libtmux-cxx
Source
include/libtmux/command.hpp

Description#

A bare name is resolved through PATH, as tmux's own documentation assumes; a path containing a separator is used as given.

Naming it is how a caller stops PATH deciding: a hermetic build, a pinned version under test, or a wrapper that reaches tmux on another machine. It rides the policy rather than the call because a Server's connection is immutable, and because a handle that changed which tmux it meant between two calls would make its own entities disagree.

Server::control() passes this to the connection it opens, so both transports run the same executable unless the caller overrides it in ConnectionOptions.

Esc

Type to search.

Reference previewOpen reference