Process<T extends RunOptions> class
- @deprecated Use {@linkcode Deno.Command} instead.
Represents an instance of a sub process that is returned from {@linkcode Deno.run} which can be used to manage the sub-process.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- Process()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pid → num
-
Available on Process<
The operating system's process ID for the sub-process.T> , provided by the Process$Typings extensionno setter - rid → num
-
Available on Process<
The resource ID of the sub-process.T> , provided by the Process$Typings extensionno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stderr → dynamic
-
Available on Process<
A reference to the sub-processesT> , provided by the Process$Typings extensionstderr
, which allows interacting with the sub-process at a low level.no setter - stdin → dynamic
-
Available on Process<
A reference to the sub-processesT> , provided by the Process$Typings extensionstdin
, which allows interacting with the sub-process at a low level.no setter - stdout → dynamic
-
Available on Process<
A reference to the sub-processesT> , provided by the Process$Typings extensionstdout
, which allows interacting with the sub-process at a low level.no setter
Methods
-
close(
) → void -
Available on Process<
Clean up resources associated with the sub-process instance.T> , provided by the Process$Typings extension -
kill(
[Signal? signo]) → void -
Available on Process<
Send a signal to process. Default signal isT> , provided by the Process$Typings extension"SIGTERM"
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
output(
) → Future< Uint8List> -
Available on Process<
Buffer the stdout until EOF and return it asT> , provided by the Process$Typings extensionUint8Array
. -
status(
) → Future< ProcessStatus> -
Available on Process<
Wait for the process to exit and return its exit status.T> , provided by the Process$Typings extension -
stderrOutput(
) → Future< Uint8List> -
Available on Process<
Buffer the stderr until EOF and return it asT> , provided by the Process$Typings extensionUint8Array
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited