类:ChildProcess
¥Class: ChildProcess
-
¥Extends: <EventEmitter>
ChildProcess 的实例代表派生的子进程。
¥Instances of the ChildProcess represent spawned child processes.
ChildProcess 的实例不打算直接创建。相反,使用 child_process.spawn()、child_process.exec()、child_process.execFile() 或 child_process.fork() 方法来创建 ChildProcess 的实例。
¥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.