# cmd_run_shell_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L43
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-variable-cmd_run_shell_entry/

tmux command: [`run-shell`](/en/tmux/3.7c/manual/run-shell/)

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

    .args = { "bd:Ct:Es:c:", 0, -1, cmd_run_shell_args_parse },
    .usage = "[-bCE] [-c start-directory] [-d delay] " "[-t target-pane]" 
             " [shell-command [argument ...]]",

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

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

## Other function references

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

## Referenced declarations

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