libtmux Reference MCP Search
On this page

tmux.RunShellRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_exec.go
struct tmux.RunShellRequest
struct [source]
struct [source]
struct tmux.RunShellRequest

RunShellRequest configures a command executed by tmux's run-shell command. Its zero value is invalid because Command is required. Pointer fields distinguish omitted flags from explicit empty arguments; RunShell copies Delay, StartDirectory, and Args before invoking tmux.

8 declared, 0 inherited

Members

  • Args attribute Args are extra job arguments copied before tmux runs. They require tmux 3.7; see UnsupportedPolicy.
  • AsTmuxCommand attribute AsTmuxCommand asks tmux to interpret Command as tmux command syntax.
  • Background attribute Background returns after tmux accepts the job instead of waiting for stdout.
  • Command attribute Command is the required shell or tmux command to run.
  • Delay attribute Delay supplies run-shell's optional delay; nil omits it and an empty value is explicit.
  • ShowStderr attribute ShowStderr requests job stderr and requires tmux 3.6; see UnsupportedPolicy.
  • StartDirectory attribute StartDirectory selects the job directory; nil omits it. It requires tmux 3.4; see UnsupportedPolicy.
  • TargetPane attribute TargetPane selects a stable pane target; its zero value leaves target selection to tmux.
Esc

Type to search.