mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
129 lines
1.2 KiB
Markdown
129 lines
1.2 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>
|
||
|
|
||
|
[(constructor)(opts)](./browsers.process._constructor_.md)
|
||
|
|
||
|
</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>
|
||
|
|
||
|
nodeProcess
|
||
|
|
||
|
</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>
|
||
|
|
||
|
[close()](./browsers.process.close.md)
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td></tr>
|
||
|
<tr><td>
|
||
|
|
||
|
[hasClosed()](./browsers.process.hasclosed.md)
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td></tr>
|
||
|
<tr><td>
|
||
|
|
||
|
[kill()](./browsers.process.kill.md)
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td></tr>
|
||
|
<tr><td>
|
||
|
|
||
|
[waitForLineOutput(regex, timeout)](./browsers.process.waitforlineoutput.md)
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td></tr>
|
||
|
</tbody></table>
|