output method
Executes the {@linkcode Deno.Command}, waiting for it to finish and
collecting all of its output.
If spawn()
was called, calling this function will collect the remaining
output.
Will throw an error if stdin: "piped"
is set.
If options stdout
or stderr
are not set to "piped"
, accessing the
corresponding field on {@linkcode Deno.CommandOutput} will throw a TypeError
.
Implementation
_i2.Future<_i4.CommandOutput> output() => _i3.promiseToFuture(_i3.callMethod(
this,
'output',
[],
));