Command$Typings extension

on

Methods

output() → Future<CommandOutput>

Available on Command, provided by the Command$Typings extension

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.
outputSync() → CommandOutput

Available on Command, provided by the Command$Typings extension

Synchronously executes the {@linkcode Deno.Command}, waiting for it to finish and collecting all of its output.
spawn() → ChildProcess

Available on Command, provided by the Command$Typings extension

Spawns a streamable subprocess, allowing to use the other methods.