cmd_if_shell_exec
Source
- Qualified name
-
cmd_if _shell _exec - Source
- cmd-if-shell.c
-
tmux command
if-shell
Call neighborhood
source callsDirect calls this declaration makes and receives, as recorded from the source.
Called by
None recorded. Reached through cmd_if_shell_entry, which reference it as a function pointer (a reference, not a call).
Direct calls recorded in this source version (tmux e476c12). Callback references appear separately below. Documentation here is sparse: the model has no summary for cmd_if_shell_exec.
Calls
source calls 15Declarations cmd_if_shell_exec calls directly.
- args_count function Call site ↗
- args_has function Call site ↗
- args_make_commands_now function Call site ↗
- args_make_commands_prepare function Call site ↗
- cmd_get_args function Call site ↗
- cmd_if_shell_free function Call site ↗
- cmdq_error function Call site ↗
- cmdq_get_client function Call site ↗
- cmdq_get_command function Call site ↗
- cmdq_get_target function Call site ↗
- cmdq_get_target_client function Call site ↗
- cmdq_insert_after function Call site ↗
- format_single_from_target function Call site ↗
- job_run function Call site ↗
- xcalloc function Call site ↗
Other function references
references 4Functions cmd_if_shell_exec takes as a pointer or callback. It does not call them.
- args_string function
- cmd_if_shell_callback function
- cmdq_get_state function
- server_client_get_cwd function
Referenced by
references 1Declarations that take cmd_if_shell_exec as a pointer or callback: a reference, not a call.
- cmd_if_shell_entry attribute
Referenced declarations
type references 12Types and data cmd_if_shell_exec names in its declaration.
- cmd_if_shell_data.client attribute
- cmd struct
- cmd_if_shell_data.cmd_else attribute
- cmd_if_shell_data.cmd_if attribute
- CMD_RETURN_ERROR constant
- CMD_RETURN_NORMAL constant
- CMD_RETURN_WAIT constant
- cmd_retval enum
- cmdq_item struct
- cmd_if_shell_data.item attribute
- client.references attribute
- cmd_find_state.s attribute
In libtmux
These methods send if-shell.
| Language | Methods |
|---|---|
| Python | Server |
| Ruby | Session expected windows or panes are given |
| Haskell | break break capture fetch join join move move wait |
| TypeScript | Pane Server |
| Go | Server |
| Java | Shell |
| Kotlin | Shell |
| Scala | Shell |
| C# | Server |
| C++ | Pane:: |
| Swift | Server no name is given |
| Raku | Pane Server |
No method in Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Rust, Clojure, F#, OCaml, or Perl sends this command itself.