# cmd_run_shell_timer

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

```c
static void cmd_run_shell_timer(int, short, void *)
```

## Parameters

- `fd` (`int`)
- `events` (`short`)
- `arg` (`void *`)

## Calls

- [`args_make_commands`](/en/tmux/latest/reference/c-function-args_make_commands/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L224)
- [`cmd_run_shell_free`](/en/tmux/latest/reference/c-function-cmd-run-shell-c-cmd_run_shell_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L205)
- [`cmdq_append`](/en/tmux/latest/reference/c-function-cmdq_append/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L234)
- [`cmdq_continue`](/en/tmux/latest/reference/c-function-cmdq_continue/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L204)
- [`cmdq_error`](/en/tmux/latest/reference/c-function-cmdq_error/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L215)
- [`cmdq_get_command`](/en/tmux/latest/reference/c-function-cmdq_get_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L233)
- [`cmdq_insert_after`](/en/tmux/latest/reference/c-function-cmdq_insert_after/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L237)
- [`job_run`](/en/tmux/latest/reference/c-function-job_run/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L208)
- [`status_message_set`](/en/tmux/latest/reference/c-function-status_message_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L212)

## Other function references

- [`cmd_run_shell_callback`](/en/tmux/latest/reference/c-function-cmd-run-shell-c-cmd_run_shell_callback/) (function)
- [`cmdq_get_state`](/en/tmux/latest/reference/c-function-cmdq_get_state/) (function)

## Referenced by

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

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`cmd_run_shell_data.client`](/en/tmux/latest/reference/c-struct-cmd_run_shell_data-client/) (attribute)
- [`cmd_run_shell_data.cmd`](/en/tmux/latest/reference/c-struct-cmd_run_shell_data-cmd/) (attribute)
- [`cmd_run_shell_data.cwd`](/en/tmux/latest/reference/c-struct-cmd_run_shell_data-cwd/) (attribute)
- [`cmd_run_shell_data.flags`](/en/tmux/latest/reference/c-struct-cmd_run_shell_data-flags/) (attribute)
- [`cmd_run_shell_data.item`](/en/tmux/latest/reference/c-struct-cmd_run_shell_data-item/) (attribute)
- [`cmd_run_shell_data.s`](/en/tmux/latest/reference/c-struct-cmd_run_shell_data-s/) (attribute)
- [`cmd_run_shell_data.state`](/en/tmux/latest/reference/c-struct-cmd_run_shell_data-state/) (attribute)
