runCommandSync method
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);
}