runAsync function

Future runAsync(
  1. String command, {
  2. Encoding? encoding,
  3. bool returnCode = false,
  4. bool useBash = false,
})

Implementation

Future<dynamic> runAsync(
  String command, {
  dart_conver.Encoding? encoding,
  bool returnCode = false,
  bool useBash = false,
}) async {
  final $run = std_std.CommandRunner(encoding: encoding, useUnixShell: useBash);
  return $run.run(command, returnCode: returnCode);
}