cmd_run_shell_exec
Source
- Qualified name
-
cmd_run _shell _exec - Source
- cmd-run-shell.c
-
tmux command
run-shell
Call neighborhood
source callsDirect calls this declaration makes and receives, as recorded from the source.
Called by
None recorded. Reached through cmd_run_shell_entry, which reference it as a function pointer (a reference, not a call).
Direct calls recorded in this source version (tmux 3b929f3). Callback references appear separately below. Documentation here is sparse: the model has no summary for cmd_run_shell_exec.
Calls
source calls 12Declarations cmd_run_shell_exec calls directly.
- args_has function Call site ↗
- cmd_find_copy_state function Call site ↗
- cmd_get_args function Call site ↗
- cmd_get_source function Call site ↗
- cmdq_error function Call site ↗
- cmdq_get_client function Call site ↗
- cmdq_get_target function Call site ↗
- cmdq_get_target_client function Call site ↗
- format_single_from_target function Call site ↗
- session_add_ref function Call site ↗
- xcalloc function Call site ↗
- xstrdup function Call site ↗
Other function references
references 3Functions cmd_run_shell_exec takes as a pointer or callback. It does not call them.
- args_get function
- cmd_run_shell_timer function
- server_client_get_cwd function
Referenced by
references 1Declarations that take cmd_run_shell_exec as a pointer or callback: a reference, not a call.
- cmd_run_shell_entry attribute
Referenced declarations
type references 28Types and data cmd_run_shell_exec names in its declaration.
- args.argc attribute
- args.argv attribute
- cmd_parse_input.c attribute
- cmd_run_shell_data.client attribute
- cmd struct
- cmd_run_shell_data.cmd attribute
- CMD_RETURN_ERROR constant
- CMD_RETURN_NORMAL constant
- CMD_RETURN_WAIT constant
- cmd_retval enum
- cmdq_item struct
- cmd_run_shell_data.cwd attribute
- cmd_parse_input.file attribute
- cmd_run_shell_data.flags attribute
- cmd_parse_input.fs attribute
- window_pane.id attribute
- cmd_parse_input.item attribute
- cmd_run_shell_data.item attribute
- JOB_NOWAIT constant
- cmd_parse_input.line attribute
- cmd_run_shell_data.pi attribute
- client.references attribute
- cmd_find_state.s attribute
- cmd_run_shell_data.s attribute
- cmd_run_shell_data.shell attribute
- cmd_run_shell_data.timer attribute
- cmd_find_state.wp attribute
- cmd_run_shell_data.wp_id attribute
In libtmux
These methods send run-shell.
| Language | Methods |
|---|---|
| Python | Server |
| Haskell | with with |
| TypeScript | Server Server layouts that depend on the tmux version |
| Rust | Plan the plan has a run-shell step Server Server |
| Go | Running Server |
| Java | Shell except from tmux 3.3 until 3.5 Shell |
| Clojure | run-shell! |
| Kotlin | Shell except from tmux 3.3 until 3.5 Shell |
| Scala | Shell except from tmux 3.3 until 3.5 Shell |
| C# | Server |
| C++ | Server:: |
| Raku | Server Server |
No method in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, F#, Swift, OCaml, or Perl sends this command itself.