Session.cmd
Execute tmux subcommand within session context.
Source and package
- Qualified name
-
libtmux.Session. cmd - Module
- libtmux
- Declared in
Session- Package
- libtmux
- Source
- src/libtmux/session.py
- Other languages
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Ruby Lua TypeScriptRustGo Java C# C++ Swift Kotlin Scala OCaml F# Clojure
-
Description#
Automatically binds target by adding
-tfor object's session ID to the command. Passtargetto keyword arguments to override.
In other ports#
Run a tmux command addressed at a session
| Language | Equivalent |
|---|---|
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | session |
| Rust | session |
| Go | tmux |
| Java | no equivalent on Session |
| C# | no equivalent on Session |
| C++ | no equivalent on Session |
| Swift | no equivalent on Session |
| 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 Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.