# tmux.RunShellRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/server_exec.go#L61
- **Page:** https://libtmux.org/reference/go/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.

## Members

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