On this page
tmux.Server.RunShell
- 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)
-
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.
0 declared, 0 inherited