| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > IWaitForExitOptions
The options for running a process to completion using Executable.waitForExitAsync()<></>.
Signature:
export interface IWaitForExitOptions |
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. |