runProcess function
Synchronously run an executable
.
If quiet
is false, logs the stdout. The stderr is always logged.
Returns the stdout.
All other optional parameters are forwarded to Process.runSync.
Implementation
@Deprecated('Use `run` instead.')
String runProcess(String executable,
{List<String> arguments = const [],
RunOptions? runOptions,
bool quiet = false,
String? workingDirectory}) {
runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
return run(executable,
arguments: arguments, runOptions: runOptions, quiet: quiet);
}