run method
run executable with args in folder and return its exit code
Implementation
Future<int> run(String executable, List<String> args, String folder) async {
Process process = await Process.start(
executable,
args,
workingDirectory: folder,
mode: ProcessStartMode.inheritStdio,
);
return process.exitCode;
}