ChildProcess class abstract

Inheritance
Annotations
  • @JS.new()

Constructors

ChildProcess()

Properties

channel → dynamic
Reference to the child's IPC channel. If no IPC channel currently exists, this property is undefined.
no setter
connected → bool
Indicates whether it is still possible to send and receive messages from a child process.
no setter
hashCode → int
The hash code for this object.
no setterinherited
killed → bool
Indicates whether the child process successfully received a signal from kill.
no setter
pid → int
The process identifier (PID) of the child process.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stderr → Readable
A Readable stream that represents the child process's stderr.
no setter
stdin → Writable
A Writable stream that represents the child process's stdin.
no setter
stdio → List
A sparse array of pipes to the child process.
no setter
stdout → Readable
A Readable stream that represents the child process's stdout.
no setter

Methods

addListener(dynamic eventName, Function listener) → void
inherited
disconnect() → void
Closes the IPC channel between parent and child, allowing the child to exit gracefully once there are no other connections keeping it alive.
emit(dynamic eventName, [dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6]) → void
inherited
eventNames() → List
inherited
getMaxListeners() → int
inherited
kill([String signal]) → void
Sends a signal to the child process.
listenerCount(dynamic eventName) → int
inherited
listeners(dynamic eventName) → List<Function>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(dynamic eventName, Function listener) → EventEmitter
inherited
once(dynamic eventName, Function listener) → EventEmitter
inherited
prependListener(dynamic eventName, Function listener) → EventEmitter
inherited
prependOnceListener(dynamic eventName, Function listener) → EventEmitter
inherited
rawListeners(dynamic eventName) → List<Function>
inherited
removeAllListeners(dynamic eventName) → EventEmitter
inherited
removeListener(dynamic eventName, Function listener) → EventEmitter
inherited
send(dynamic message, [dynamic sendHandle, dynamic options, Function callback]) → bool
Send message to the child process.
setMaxListeners(int value) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited