# cmd_run_shell_timer

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L168
- **Page:** https://libtmux.org/en/tmux/3.2a/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

- [`cmd_parse_and_append`](/en/tmux/3.2a/reference/c-function-cmd_parse_and_append/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L190)
- [`cmd_parse_and_insert`](/en/tmux/3.2a/reference/c-function-cmd_parse_and_insert/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L187)
- [`cmd_run_shell_free`](/en/tmux/3.2a/reference/c-function-cmd-run-shell-c-cmd_run_shell_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L181)
- [`cmdq_continue`](/en/tmux/3.2a/reference/c-function-cmdq_continue/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L204)
- [`cmdq_error`](/en/tmux/3.2a/reference/c-function-cmdq_error/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L198)
- [`job_run`](/en/tmux/3.2a/reference/c-function-job_run/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L178)
- [`status_message_set`](/en/tmux/3.2a/reference/c-function-status_message_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L196)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`__unused`](/en/tmux/3.2a/reference/c-define-compat-h-__unused/) (constant)
- [`cmd_run_shell_data.client`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-client/) (attribute)
- [`cmd_run_shell_data.cmd`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-cmd/) (attribute)
- [`CMD_PARSE_ERROR`](/en/tmux/3.2a/reference/c-enum-cmd_parse_status-cmd_parse_error/) (constant)
- [`cmd_run_shell_data.cwd`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-cwd/) (attribute)
- [`cmd_run_shell_data.flags`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-flags/) (attribute)
- [`cmd_run_shell_data.item`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-item/) (attribute)
- [`cmd_run_shell_data.pi`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-pi/) (attribute)
- [`cmd_run_shell_data.s`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-s/) (attribute)
- [`cmd_run_shell_data.shell`](/en/tmux/3.2a/reference/c-struct-cmd_run_shell_data-shell/) (attribute)
