Shell.run
Runs a shell command for its effect. Nothing is claimed about what it printed.
Source and package
- Qualified name
-
io.github .libtmux .Shell. run - Package
- io.github.libtmux
- Declared in
Shell- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Shell.java
Recorded calls
source callsThe Java reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.Shell.run.
tmux command
task materialThe tmux commands behind run.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 8 other ports mappedSource-verified mappings for Run a shell command through tmux. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from Java |
|---|---|---|
| Java | io Runs a shell command for its effect. Nothing is claimed about what it printed. | This page |
| Python | libtmux Execute a shell command via $ tmux run-shell. | on Server |
| Ruby | Lib Raw tmux arguments retain tmux's separators and format semantics. | on Server |
| TypeScript | server Run a shell command through tmux and return whatever it printed. | on Server |
| Rust | server Run a shell command through tmux and collect its output. | asyncon Server |
| Go | tmux RunShell executes a shell command through tmux and returns an owned stdout slice. Captured foreground shell jobs require tmux 3.5 before execution; older releases deliver that output to no client. A background request returns nil after tmux accepts the job. TargetPane delivers output to that pane on older supported daemons. AsTmuxCommand uses native tmux command semantics rather than promising captured shell-job output. Unsupported optional flags follow UnsupportedPolicy. A completed stderr result is an error; context cancellation can be observed with errors.Is but does not establish that tmux did not start the job. | on Server |
| C# | Lib Runs a shell command and reports what it printed. | asyncon Server |
| C++ | libtmux:: Run a shell command on the machine the server is on. | on Serverreadonly |
| Raku | Lib Run literal shell source through tmux. Background acknowledgement is not job completion. | on Server Background acknowledgement does not establish job completion. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
Server.run(_:in:) types a command into a pane rather than running it on the host
No direct public OCaml equivalent is recorded for this operation.
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, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.