Skip to content

Latest commit

 

History

History
102 lines (49 loc) · 1.46 KB

File metadata and controls

102 lines (49 loc) · 1.46 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

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

encoding?

BufferEncoding | 'buffer'

(Optional) The encoding of the output. If not provided, the output will not be collected.

throwOnNonZeroExitCode?

boolean

(Optional) Whether or not to throw when the process completes with a non-zero exit code. Defaults to false.

throwOnSignal?

boolean

(Optional) Whether or not to throw when the process is terminated by a signal. Defaults to false.