libtmux Reference MCP Search
On this page

tmux.Pane.Pipe

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_process.go
Pipe ( ctx : context.Context , request : PipePaneRequest ) error
method [source]
method [source]
Pipe

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.

0 declared, 0 inherited

Esc

Type to search.