runAsync$ function

Future runAsync$(
  1. List<String> command, {
  2. List<String>? rest,
  3. Encoding? encoding,
  4. bool returnCode = false,
  5. bool useBash = false,
  6. bool autoQuote = true,
})

Implementation

Future<dynamic> runAsync$(
  List<String> command, {
  List<String>? rest,
  dart_conver.Encoding? encoding,
  bool returnCode = false,
  bool useBash = false,
  bool autoQuote = true,
}) async {
  var list = <String>[];
  rest ??= <String>[];
  list
    ..addAll(command)
    ..addAll(rest);
  final $run = std_std.CommandRunner(encoding: encoding, useUnixShell: useBash);
  return $run.run$(list, returnCode: returnCode, autoQuote: autoQuote);
}