libtmux Reference MCP Search
On this page

libtmux::Pane::pipe_to

View as Markdown

Module
libtmux
Declared in
Pane
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
pipe_to ( command : std::string_view ) expected< void, CommandFailure >
methodreadonly [source]
methodreadonly [source]
pipe_to

Copy everything this pane prints to a shell command, until told to stop.

The command runs on the tmux server's machine with the pane's output on its standard input.

Starting a second pipe replaces the first: tmux keeps one per pane, so there is nothing to close and nothing to leak.

0 declared, 0 inherited

Esc

Type to search.