exec abstract method

Executes a shell command. Must never throw: all failures are encoded in the returned Result.

Implementation

Future<Result<ShellExecResult, ExecutionError>> exec(
  String command, {
  ShellExecOptions? options,
});