runCommandSync method

  1. @override
ShellProcessResult runCommandSync(
  1. ShellCommand command
)

Run a single command, resolving the executable if needed.

Returns a process result (or throw if specified in the shell).

onProcess is called for each started process.

Implementation

@override
ShellProcessResult runCommandSync(ShellCommand command) {
  var runId = ++_runId;
  return _runCommandSync(runId, command);
}