Java calls EXE or SH code

xiaoxiao2021-03-06  56

// start up the processprocess p = runtime.getRuntime (). Exec (this.program); // Wait for it to finish runningtry {p.waitfor ();} catch (interruptedException IE) {system.out.println (IE }

2004-06-22 16:28

转载请注明原文地址:https://www.9cbs.com/read-113400.html

New Post(0)