Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

Python API

method libtmux stable

Pane.pipe

Pipe pane output to a shell command via $ tmux pipe-pane.

Source and package
Qualified name
libtmux.Pane.pipe
Module
libtmux
Declared in
Pane
Package
libtmux
Source
src/libtmux/pane.py
Other languages
PowerShell Julia Ruby Lua TypeScriptRustGoJavaC#C++Swift Kotlin Scala F#
pipe ( self, command: str | None = None, output_only: bool | None = None, input_only: bool | None = None, toggle: bool | None = None, ) → None

Examples#

>>> pane.pipe('cat >> /tmp/output.txt')

Stop piping:

>>> pane.pipe()
Parameters

tmux command pipe-pane

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

Type to search.

Reference preview Open reference