Duplicate of Java process .waitFor() problem. Thread closed.