|
When the runCommand encounters an error (i.e. a non-zero exit code)
the function should reject the promise with the error, stderr and stdout
as the response.
This change allow each caller to the runCommand to
implement its own error handling and logging.
|