# cmd_run_shell_callback

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L246
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-run-shell-c-cmd_run_shell_callback/

```c
static void cmd_run_shell_callback(struct job *)
```

## Parameters

- `job` (`struct job *`)

## Calls

- [`cmd_run_shell_print`](/en/tmux/3.7c/reference/c-function-cmd-run-shell-c-cmd_run_shell_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L258)
- [`cmdq_continue`](/en/tmux/3.7c/reference/c-function-cmdq_continue/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L292)
- [`cmdq_get_client`](/en/tmux/3.7c/reference/c-function-cmdq_get_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L289)
- [`job_get_data`](/en/tmux/3.7c/reference/c-function-job_get_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L248)
- [`job_get_event`](/en/tmux/3.7c/reference/c-function-job_get_event/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L249)
- [`job_get_status`](/en/tmux/3.7c/reference/c-function-job_get_status/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L274)
- [`xasprintf`](/en/tmux/3.7c/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L277)
- [`xmalloc`](/en/tmux/3.7c/reference/c-function-xmalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L265)

## Referenced by

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

## Referenced declarations

- [`cmd_run_shell_data.cmd`](/en/tmux/3.7c/reference/c-struct-cmd_run_shell_data-cmd/) (attribute)
- [`cmd_run_shell_data.item`](/en/tmux/3.7c/reference/c-struct-cmd_run_shell_data-item/) (attribute)
- [`job`](/en/tmux/3.7c/reference/c-struct-job/) (struct)
- [`client.retval`](/en/tmux/3.7c/reference/c-struct-client-retval/) (attribute)
