# cmd_run_shell_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L40
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-variable-cmd_run_shell_entry/

tmux command: [`run-shell`](/en/tmux/3.2a/manual/run-shell/)

```c
const struct cmd_entry cmd_run_shell_entry = {
    .name = "run-shell",
    .alias = "run",

    .args = { "bd:Ct:", 0, 1 },
    .usage = "[-bC] [-d delay] " "[-t target-pane]" " [shell-command]",

    .target = { 't', CMD_FIND_PANE, 0x40 },

    .flags = 0,
    .exec = cmd_run_shell_exec
};
```

## Other function references

- [`cmd_run_shell_exec`](/en/tmux/3.2a/reference/c-function-cmd-run-shell-c-cmd_run_shell_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`cmd_entry`](/en/tmux/3.2a/reference/c-struct-cmd_entry/) (struct)
- [`CMD_FIND_PANE`](/en/tmux/3.2a/reference/c-enum-cmd_find_type-cmd_find_pane/) (constant)
