# cmd_if_shell_callback

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L138
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd-if-shell-c-cmd_if_shell_callback/

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

## Parameters

- `job` (`struct job *`)

## Calls

- [`args_make_commands`](/en/tmux/latest/reference/c-function-args_make_commands/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L156)
- [`cmdq_append`](/en/tmux/latest/reference/c-function-cmdq_append/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L166)
- [`cmdq_continue`](/en/tmux/latest/reference/c-function-cmdq_continue/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L174)
- [`cmdq_error`](/en/tmux/latest/reference/c-function-cmdq_error/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L162)
- [`cmdq_get_command`](/en/tmux/latest/reference/c-function-cmdq_get_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L165)
- [`cmdq_insert_after`](/en/tmux/latest/reference/c-function-cmdq_insert_after/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L169)
- [`job_get_data`](/en/tmux/latest/reference/c-function-job_get_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L140)
- [`job_get_status`](/en/tmux/latest/reference/c-function-job_get_status/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L148)
- [`status_message_set`](/en/tmux/latest/reference/c-function-status_message_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L160)

## Other function references

- [`cmdq_get_state`](/en/tmux/latest/reference/c-function-cmdq_get_state/) (function)

## Referenced by

- [`cmd_if_shell_exec`](/en/tmux/latest/reference/c-function-cmd-if-shell-c-cmd_if_shell_exec/) (function)

## Referenced declarations

- [`cmd_if_shell_data.client`](/en/tmux/latest/reference/c-struct-cmd_if_shell_data-client/) (attribute)
- [`cmd_if_shell_data.cmd_else`](/en/tmux/latest/reference/c-struct-cmd_if_shell_data-cmd_else/) (attribute)
- [`cmd_if_shell_data.cmd_if`](/en/tmux/latest/reference/c-struct-cmd_if_shell_data-cmd_if/) (attribute)
- [`cmd_if_shell_data.item`](/en/tmux/latest/reference/c-struct-cmd_if_shell_data-item/) (attribute)
- [`job`](/en/tmux/latest/reference/c-struct-job/) (struct)
