ChildProcess class
The interface for handling a child process returned from {@linkcode Deno.Command.spawn}.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pid → num
-
Available on ChildProcess, provided by the ChildProcess$Typings extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Future<
CommandStatus> -
Available on ChildProcess, provided by the ChildProcess$Typings extension
Get the status of the child.no setter -
stderr
↔ ReadableStream<
Uint8List> -
Available on ChildProcess, provided by the ChildProcess$Typings extension
getter/setter pair -
stdin
↔ WritableStream<
Uint8List> -
Available on ChildProcess, provided by the ChildProcess$Typings extension
getter/setter pair -
stdout
↔ ReadableStream<
Uint8List> -
Available on ChildProcess, provided by the ChildProcess$Typings extension
getter/setter pair
Methods
-
kill(
[Signal? signo]) → void -
Available on ChildProcess, provided by the ChildProcess$Typings extension
Kills the process with given {@linkcode Deno.Signal}. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
output(
) → Future< CommandOutput> -
Available on ChildProcess, provided by the ChildProcess$Typings extension
Waits for the child to exit completely, returning all its output and status. -
ref(
) → void -
Available on ChildProcess, provided by the ChildProcess$Typings extension
Ensure that the status of the child process prevents the Deno process from exiting. -
toString(
) → String -
A string representation of this object.
inherited
-
unref(
) → void -
Available on ChildProcess, provided by the ChildProcess$Typings extension
Ensure that the status of the child process does not block the Deno process from exiting.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited