runAsync static method

Future<String> runAsync(
  1. String script, {
  2. List<String> arguments = const [],
  3. bool quiet = false,
  4. String? packageRoot,
  5. RunOptions? runOptions,
  6. List<String> vmArgs = const [],
})

Implementation

static Future<String> runAsync(
  String script, {
  List<String> arguments = const [],
  bool quiet = false,
  String? packageRoot,
  RunOptions? runOptions,
  List<String> vmArgs = const [],
}) {
  final args = _buildArgs(script, arguments, packageRoot, vmArgs);

  return runlib.runAsync(dartVM.path,
      arguments: args, quiet: quiet, runOptions: runOptions);
}