Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

View as Markdown

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
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.

In other ports Copy a pane's output to a shell command

0 declared, 0 inherited

Esc

Type to search.