25 lines
600 B
Markdown
25 lines
600 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [waitForChild](./js-utils.waitforchild.md)
|
|
|
|
## waitForChild() function
|
|
|
|
Wait for a child process to exit, collecting output, errors, and exit status.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare function waitForChild(child: ChildStreams): Promise<ChildResult>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| child | <code>ChildStreams</code> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
`Promise<ChildResult>`
|
|
|