# cmd_run_shell_print

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

```c
static void cmd_run_shell_print(struct job *, const char *)
```

## Parameters

- `job` (`struct job *`)
- `msg` (`const char *`)

## Called by

- [`cmd_run_shell_callback`](/en/tmux/3.2a/reference/c-function-cmd-run-shell-c-cmd_run_shell_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L220)

## Calls

- [`cmd_find_from_nothing`](/en/tmux/3.2a/reference/c-function-cmd_find_from_nothing/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L81)
- [`cmdq_print`](/en/tmux/3.2a/reference/c-function-cmdq_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L78)
- [`job_get_data`](/en/tmux/3.2a/reference/c-function-job_get_data/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L69)
- [`window_copy_add`](/en/tmux/3.2a/reference/c-function-window_copy_add/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L91)
- [`window_pane_find_by_id`](/en/tmux/3.2a/reference/c-function-window_pane_find_by_id/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L75)
- [`window_pane_set_mode`](/en/tmux/3.2a/reference/c-function-window_pane_set_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L90)

## Referenced declarations

- [`cmd_run_shell_data.item`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-item/) (attribute)
- [`job`](/en/tmux/3.2a/reference/c-struct-job/) (struct)
- [`window_mode_entry.mode`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-mode/) (attribute)
- [`window_pane.modes`](/en/tmux/3.2a/reference/c-struct-window_pane-modes/) (attribute)
- [`window_view_mode`](/en/tmux/3.2a/reference/c-variable-window_view_mode/) (attribute)
- [`cmd_find_state.wp`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-wp/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-wp/) (attribute)
- [`cmd_run_shell_data.wp_id`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-wp_id/) (attribute)
