|
|
|
@ -63,7 +63,17 @@ public class DevRequestHandler {
@@ -63,7 +63,17 @@ public class DevRequestHandler {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
processBuilder = new ProcessBuilder("/bin/sh", "-c", commandString + " " + commandArgument); |
|
|
|
|
|
|
|
|
|
outFile = new File("devLastOut"); |
|
|
|
|
if (outFile.exists()) |
|
|
|
|
outFile.delete(); |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
outFile.createNewFile(); |
|
|
|
|
} catch (IOException e) { |
|
|
|
|
throw new RuntimeException(e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
logString = String.join(" ",processBuilder.command().toArray(new String[0])); |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|