Cleanups, fixed isValid glitch

This commit is contained in:
Banks Troutman
2019-10-10 15:07:56 -04:00
parent 8748dd2503
commit d56a27c017
16 changed files with 77 additions and 157 deletions

View File

@@ -45,7 +45,9 @@ public enum Platform {
} catch (IOException e) {
e.printStackTrace();
}
while (!shell.isOutputCompleted()) {}
while (!shell.isOutputCompleted()) {
// ignored
}
if (shell.getExitCode() == 0) {
var out = shell.getOutput();
out = out.split("\n")[0];