start function
Implementation
Future<void> start(String exec, List<String> args) async {
Process process = await Process.start(
exec,
args,
runInShell: true,
mode: ProcessStartMode.inheritStdio,
);
process.exitCode.then((_) {
exit(0);
});
}