CommandOutput class

The interface returned from calling {@linkcode Deno.Command.output} or {@linkcode Deno.Command.outputSync} which represents the result of spawning the child process.

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

CommandOutput({Uint8List? stdout, Uint8List? stderr, bool? success, num? code, Signal? signal})
factory

Properties

code num

Available on CommandStatus, provided by the CommandStatus$Typings extension

The exit code of the child process.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signal Signal?

Available on CommandStatus, provided by the CommandStatus$Typings extension

The signal associated with the child process.
getter/setter pair
stderr Uint8List

Available on CommandOutput, provided by the CommandOutput$Typings extension

The buffered output from the child process' stderr.
no setter
stdout Uint8List

Available on CommandOutput, provided by the CommandOutput$Typings extension

The buffered output from the child process' stdout.
no setter
success bool

Available on CommandStatus, provided by the CommandStatus$Typings extension

If the child process exits with a 0 status code, success will be set to true, otherwise false.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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