runInCmd static method
Implementation
static runInCmd(String command) async {
ProcessResult result = await Process.run(command, [], runInShell: true);
if (result.exitCode != 0) {
print(result.stderr);
}
}
static runInCmd(String command) async {
ProcessResult result = await Process.run(command, [], runInShell: true);
if (result.exitCode != 0) {
print(result.stderr);
}
}