Home > @rushstack/node-core-library > IWaitForExitOptions
IWaitForExitOptions interface
The options for running a process to completion using Executable.waitForExitAsync().
Signature:
export interface IWaitForExitOptions
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
BufferEncoding | 'buffer' | (Optional) The encoding of the output. If not provided, the output will not be collected. | ||
boolean | (Optional) Whether or not to throw when the process completes with a non-zero exit code. Defaults to false. | ||
boolean | (Optional) Whether or not to throw when the process is terminated by a signal. Defaults to false. |