Process 类
🌐 Process class
语法
🌐 Signature
export declare class Process
构造函数
🌐 Constructors
构造函数 🌐 Constructor | 修饰符 🌐 Modifiers | 描述 🌐 Description |
|---|---|---|
| (constructor)(opts) | 构造 🌐 Constructs a new instance of the |
属性
🌐 Properties
属性 🌐 Property | 修饰符 🌐 Modifiers | 类型 🌐 Type | 描述 🌐 Description |
|---|---|---|---|
| nodeProcess |
| childProcess.ChildProcess |
方法
🌐 Methods
方法 🌐 Method | 修饰符 🌐 Modifiers | 描述 🌐 Description |
|---|---|---|
| close() | ||
| getRecentLogs() | 获取浏览器触发的最新日志(stderr + stdout)。 🌐 Get recent logs (stderr + stdout) emitted by the browser. | |
| hasClosed() | ||
| kill() | ||
| waitForLineOutput(regex, timeout) |