libtmux Reference MCP Search
On this page

tmux.Server.RunShell

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_exec.go
RunShell ( ctx : context.Context , request : RunShellRequest ) ([]string, error)
method [source]
method [source]
RunShell

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 with errors.Is but does not establish that tmux did not start the job.

0 declared, 0 inherited

Esc

Type to search.