Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Server.RunShell

View as Markdown

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)
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.

In other ports Run a shell command through tmux

0 declared, 0 inherited

Esc

Type to search.