Command$Typings extension

on

Methods

output() Future<CommandOutput>
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
Synchronously executes the {@linkcode Deno.Command}, waiting for it to finish and collecting all of its output.
spawn() ChildProcess
Spawns a streamable subprocess, allowing to use the other methods.