Process
A spawned child process with typed streams.
Wraps the Node.js ChildProcess object without exposing JS types.
Properties
-
exitCode
→ Future<
int?> -
Wait for the process to exit and return the exit code.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stderr
→ Stream<
String> -
Stream of stderr data.
no setter
-
stdout
→ Stream<
String> -
Stream of stdout data.
no setter
Methods
-
kill(
[String? signal]) → void - Kill the process with an optional signal.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onExit(
void callback(int? code)) → void - Listen for process exit. Returns the exit code (null if killed).
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String data) → void - Write data to the process stdin.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited