runProcessAsync function

  1. @Deprecated('Use `runAsync` instead.')
Future<String> runProcessAsync(
  1. String executable, {
  2. List<String> arguments = const [],
  3. RunOptions? runOptions,
  4. String? workingDirectory,
  5. bool quiet = false,
})

Asynchronously run an executable.

If quiet is false, logs the stdout as line breaks are encountered. The stderr is always logged.

Returns a future for the stdout.

All other optional parameters are forwarded to Process.start.

Implementation

@Deprecated('Use `runAsync` instead.')
Future<String> runProcessAsync(String executable,
    {List<String> arguments = const [],
    RunOptions? runOptions,
    String? workingDirectory,
    bool quiet = false}) {
  runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
  return runAsync(executable,
      arguments: arguments, quiet: quiet, runOptions: runOptions);
}