outputSync method

CommandOutput outputSync()

Synchronously executes the {@linkcode Deno.Command}, waiting for it to finish and collecting all of its 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

_i4.CommandOutput outputSync() => _i3.callMethod(
      this,
      'outputSync',
      [],
    );