Skip to content

Latest commit

 

History

History
76 lines (39 loc) · 1.19 KB

File metadata and controls

76 lines (39 loc) · 1.19 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > Executable > waitForExitAsync

Executable.waitForExitAsync() method

Wait for a child process to exit and return the result.

Signature:

static waitForExitAsync(childProcess: child_process.ChildProcess, options: IWaitForExitWithBufferOptions): Promise<IWaitForExitResult<Buffer>>;

Parameters

Parameter

Type

Description

childProcess

child_process.ChildProcess

The child process to wait for.

options

IWaitForExitWithBufferOptions

Options for waiting for the process to exit.

Returns:

Promise<IWaitForExitResult<></><Buffer>>