Toggles throwing an exception if the process exits with a non-zero exit code.
- Namespace
- Statiq
.Core - Containing Type
- StartProcess
Syntax
public StartProcess ContinueOnError(Config<bool> continueOnError = null)
Remarks
By default the module will throw an exception if the process exits with a non-zero exit code.
Parameters
Name | Type | Description |
---|---|---|
continueOnError | Config |
true or null to continue when the process exits with a non-zero exit code, false to throw an exception. |
Return Value
Type | Description |
---|---|
StartProcess | The current module instance. |