# cmd_run_shell_print

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L79
- **Page:** https://libtmux.org/en/tmux/latest/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/latest/reference/c-function-cmd-run-shell-c-cmd_run_shell_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L258)

## Calls

- [`cmdq_print`](/en/tmux/latest/reference/c-function-cmdq_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L90)
- [`job_get_data`](/en/tmux/latest/reference/c-function-job_get_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L81)
- [`server_client_get_pane`](/en/tmux/latest/reference/c-function-server_client_get_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L94)
- [`window_copy_add`](/en/tmux/latest/reference/c-function-window_copy_add/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L104)
- [`window_pane_find_by_id`](/en/tmux/latest/reference/c-function-window_pane_find_by_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L87)
- [`window_pane_set_mode`](/en/tmux/latest/reference/c-function-window_pane_set_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L103)

## Other function references

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

## Referenced declarations

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