Execute a command and capture stdout/stderr (buffered).
Optionalopts: RunCommandResultOptionsExecute a command and capture stdout/stderr (buffered).
Command string (shell) or argv array (shell-off supported).
Shell setting (false for plain execution).
Optionalopts: RunCommandResultOptionsExecution options (cwd/env/timeout).
A promise resolving to the captured result.
Execute a command and capture stdout/stderr (buffered).
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/timeout).
Returns
A promise resolving to the captured result.