@lynx-js/lynxtron / UtilityProcess
UtilityProcess
Extends
unknown
Constructors
new UtilityProcess()
Returns
Inherited from
EventEmitter.constructor
Properties
pid
The PID of the process.
Defined in
apis/api/utility-process.d.ts:14
stderr
A Readable Stream that represents the process's stderr.
Defined in
apis/api/utility-process.d.ts:22
stdout
A Readable Stream that represents the process's stdout.
Defined in
apis/api/utility-process.d.ts:18
Methods
kill()
Terminates the process gracefully. On some operating systems, the process will be terminated immediately.
Returns
boolean
Defined in
apis/api/utility-process.d.ts:27
postMessage()
Send a message to the child process.
Parameters
Returns
void
Defined in