Core Library0.xAPI 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-rs latest

TestServerBuilder.tmux_executable

Configure the tmux executable used by the daemon and every client.

Source and package
Qualified name
libtmux::test::TestServerBuilder::tmux_executable
Module
test
Declared in
TestServerBuilder
Package
libtmux
Source
crates/libtmux/src/test.rs
#[must_use = "use the returned builder to retain the executable" ] pub fn tmux_executable( mut self, executable: impl Into<OsString> ) -> Self

Description#

Defaults to LIBTMUX_TEST_TMUX, and to tmux resolved through PATH when that is unset -- so pinning a release across a whole run is the variable's job, and this is for a test that needs a particular build whatever the run was pointed at.

Examples#

use libtmux::test::TestServer;
let _builder = TestServer::builder().tmux_executable("tmux");
Parameters
Esc

Type to search.

Reference previewOpen reference