Commit 634e077b authored by Max Lv's avatar Max Lv

fix the exitcode

parent 89da9abd
......@@ -115,7 +115,7 @@ public class Utils {
if (pipe == null) return;
if (pid[0] != -1) {
Exec.waitFor(pid[0]);
exitcode = Exec.waitFor(pid[0]);
}
final InputStream stdout = new FileInputStream(pipe);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment