UtilityProcess
Properties
A NodeJS.ReadableStream | null
that represents the child process's stderr. If the child was spawned with options.stdio2 set to anything other than 'pipe', then this will be null
. When the child process exits, then the value is null
after the exit
event is emitted.
A NodeJS.ReadableStream | null
that represents the child process's stdout. If the child was spawned with options.stdio1 set to anything other than 'pipe', then this will be null
. When the child process exits, then the value is null
after the exit
event is emitted.
Functions
Emitted after the child process ends.
Emitted when the child process sends a message using process.parentPort.postMessage()
.
Emitted once the child process has spawned successfully.
Send a message to the child process, optionally transferring ownership of zero or more MessagePortMain
objects.