ExecutionPolicy.tmux_binary
Which tmux to run.
Source and package
- Qualified name
-
libtmux::Execution Policy:: tmux _binary - Namespace
- libtmux
- Declared in
ExecutionPolicy- Package
- libtmux-cxx
- Source
- include/libtmux/command.hpp
- tmux_binary : std::
filesystem:: path -
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
PATHdeciding: 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 inConnectionOptions.