Pane.cmd
Execute tmux subcommand within pane context.
Source and package
- Qualified name
-
libtmux.Pane .cmd - Module
- libtmux
- Declared in
- Pane
- Package
- libtmux
- Source
- src/libtmux/pane.py
- Other languages
- PowerShell Julia Ruby Lua TypeScriptRustGo Java C# C++ Swift Kotlin Scala F#
-
Description#
Automatically binds target by adding
-tfor object's pane ID to the command. Passtargetto keyword arguments to override.Examples#
>>> pane.cmd('split-window', '-P').stdout[0]'libtmux...:...'From raw output to an enriched
Paneobject:>>> Pane.from_pane_id(pane_id=pane.cmd(... 'split-window', '-P', '-F#{pane_id}').stdout[0], server=pane.server)Pane(%... Window(@... ...:..., Session($1 libtmux_...)))In other ports Run a tmux command addressed at a pane
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
- Rust
- Go
- Java no equivalent on
Pane - C# no equivalent on
Pane - C++ no equivalent on
Pane - Swift no equivalent on
Pane - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.
- PowerShell