runCommand method

  1. @override
Future<ShellProcessResult> runCommand(
  1. ShellCommand command, {
  2. ShellCommandRunOptions? options,
})

Run a single command.

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

onProcess is called for each started process.

Implementation

@override
Future<ShellProcessResult> runCommand(
  ShellCommand command, {
  ShellCommandRunOptions? options,
}) {
  return _runCommand(command, options: options);
}