ChildProcess 类
- 继承自: <EventEmitter>
ChildProcess 的实例,表示衍生的子进程。
ChildProcess 的实例不是直接创建的。
而是,使用 child_process.spawn()、child_process.exec()、child_process.execFile() 或 child_process.fork() 方法来创建 ChildProcess 的实例。
- Extends: <EventEmitter>
Instances of the ChildProcess represent spawned child processes.
Instances of ChildProcess are not intended to be created directly. Rather,
use the child_process.spawn(), child_process.exec(),
child_process.execFile(), or child_process.fork() methods to create
instances of ChildProcess.