tmux.Server.RunShell
- Module
- tmux
- Declared in
- Server
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_exec.go
- Other languages
- PythonRuby Lua TypeScriptRustJava.NETC++ Swift
- RunShell ( ctx : context.Context , request : RunShellRequest ) ([]string, error)
-
RunShell executes a shell command through tmux and returns an owned stdout slice. A background request returns nil after tmux accepts the job. Unsupported optional flags follow
UnsupportedPolicy. A completed stderr result is an error; context cancellation can be observed witherrors.Isbut does not establish that tmux did not start the job.In other ports Run a shell command through tmux
- Python
libtmux.Server.run_shell - Ruby
LibTmux::Server#run - Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.runShell - Rust
server.Server.run_shell - Java
io.github.libtmux.Server.Server.runShell - .NET
LibTmux.Server.RunShellAsync - C++
libtmux::Server::run_shell - Swift
Server.run(_:in:)types a command into a pane rather than running it on the host
- Python
0 declared, 0 inherited