回複:A Java Question

static private void startProcess(String cmd) {
Runtime runtime = Runtime.getRuntime();

try {
Process p = runtime.exec(cmd, helpClasses);


try {
p.waitFor();
} catch ( java.lang.InterruptedException e2)
{
exitCode = CwConstant.NOT_YET_FINISHED;
}

} catch (java.io.IOException e) {}
return;
}

請您先登陸,再發跟帖!