Pane.pipe
The shell command and its format expansion are explicitly requested here. only_if_closed follows tmux -o: an existing pipe is closed, not retained.
Source and package
- def pipe: ( ?shell
_command : ::String?, ?input: bool, ?output: bool, ?only_if : bool, ?timeout: ::Numeric, ?cancel: untyped ) -> ::Lib_closed Tmux:: Command Result -
Description#
Behavior contract: Pane pipes.
tmux command#
The tmux commands behind pipe.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Copy a pane's output to a shell command
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | pane |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.