| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > Executable > waitForExitAsync
Wait for a child process to exit and return the result.
Signature:
static waitForExitAsync(childProcess: child_process.ChildProcess, options: IWaitForExitWithBufferOptions): Promise<IWaitForExitResult<Buffer>>;|
Parameter |
Type |
Description |
|---|---|---|
|
childProcess |
child_process.ChildProcess |
The child process to wait for. |
|
options |
Options for waiting for the process to exit. |
Returns:
Promise<IWaitForExitResult<></><Buffer>>