tmux_run_shell
Run a shell command inside tmux via run-shell. Supports background execution and returns the exit code along with any output.
Instructions
Run a shell command from tmux via run-shell.
background=True (-b) runs it without waiting. Note: tmux surfaces the
command's stdout in a message/copy buffer rather than returning it here,
so output is usually empty — to capture a command's output prefer
tmux_run. Returns {"output", "exit_code"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| background | No | ||
| target_pane | No | ||
| target | No |