On this page
libtmux::Pane::pipe_to
- Module
- libtmux
- Declared in
- Pane
- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- pipe_to ( command : std::string_view ) expected< void, CommandFailure >
-
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