Execute a command and return its exit code.
Command string (shell) or argv array (shell-off supported).
Shell setting (false for plain execution).
Execution options (cwd/env/stdio).
A promise resolving to the process exit code.
Execute a command and return its exit code.
Command string (shell) or argv array (shell-off supported).
Shell setting (false for plain execution).
Execution options (cwd/env/stdio).
A promise resolving to the process exit code.
Execute a command and return its exit code.
Param: command
Command string (shell) or argv array (shell-off supported).
Param: shell
Shell setting (false for plain execution).
Param: opts
Execution options (cwd/env/stdio).
Returns
A promise resolving to the process exit code.