execAndWaitStderr method
Calls exec than waitStderr
.
Implementation
Future<Output?> execAndWaitStderr(String command, List<String> args,
{int? desiredExitCode}) async {
var process = await exec(command, args);
if (process == null) return null;
return process.waitStderr(desiredExitCode: desiredExitCode);
}