runProcessAsync function
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);
}