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 error
property
will be populated with an Error
.
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.
Specify the kind of serialization used for sending messages between processes.
Generated using TypeDoc
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.