Add an error finder to SpawnPromietOptions to allow for poorly-behaved command-line tools that do not properly reflect their status in their return code.
If your command can return zero on failure or non-zero on
success, you can override the default behavior of determining
success or failure using this option. For example, if your
command returns zero for certain types of errors, you can scan
the log content from the command to determine if an error
occurs. If this function finds an error, the
will be populated with an
Make SpawnPromiseOptions log mandatory and a ProgressLog.
Set to true if you want the command line sent to the Writablelog provided to spawnPromise. Set to false if the command or its arguments contain sensitive information.
Generated using TypeDoc