ChildProcess class

Inheritance
Annotations

Constructors

ChildProcess()

Properties

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

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 non-existent 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
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited