- Module
- tmux
- Declared in
- Pane
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/pane_process.go
- Other languages
- PythonRuby Lua TypeScriptRustJava.NETC++Swift
- Pipe ( ctx : context.Context , request : PipePaneRequest ) error
-
Pipe starts, toggles, or stops piping for the receiver's exact linked pane. tmux expands formats and time formats in Command before running it with sh -c. The library's protection for a final semicolon applies only to tmux's outer command parser; it does not quote or neutralize the child shell.
A nil Command, and an explicit empty Command under tmux semantics, stops the current pipe. Successful return means tmux installed, toggled, or stopped the pipe; it does not report child-shell success or lifetime. Only stderr produces a redacted
CommandError. Accepted pipe changes are not rolled back.In other ports Copy a pane's output to a shell command
- Python
libtmux.Pane.pipe - Ruby
LibTmux::Pane#pipe - Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
pane.Pane.pipeTo - Rust
pane.Pane.pipe - Java
io.github.libtmux.Pane.Pane.pipeTo - .NET
LibTmux.Pane.PipeAsync - C++
libtmux::Pane::pipe_to - Swift
Server.pipe(_:to:)
- Python
0 declared, 0 inherited