puppeteer/docs/browsers-api/browsers.process.md

129 lines
1.3 KiB
Markdown

---
sidebar_label: Process
---
# Process class
#### Signature:
```typescript
export declare class Process
```
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
<span id="_constructor_">[(constructor)(opts)](./browsers.process._constructor_.md)</span>
</td><td>
</td><td>
Constructs a new instance of the `Process` class
</td></tr>
</tbody></table>
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
<span id="nodeprocess">nodeProcess</span>
</td><td>
`readonly`
</td><td>
childProcess.ChildProcess
</td><td>
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
<span id="close">[close()](./browsers.process.close.md)</span>
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="hasclosed">[hasClosed()](./browsers.process.hasclosed.md)</span>
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="kill">[kill()](./browsers.process.kill.md)</span>
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="waitforlineoutput">[waitForLineOutput(regex, timeout)](./browsers.process.waitforlineoutput.md)</span>
</td><td>
</td><td>
</td></tr>
</tbody></table>