阅读背景:

无法使用Runtime.getRuntime()执行脚本.exec()

来源:互联网 
String[] cmd = { "node", "/Users/pramod/Desktop/sample.js"};    
Runtime r = Runtime.getRuntime();
Process p = null;
p = r.exec(cmd);
String[] cmd = { "node", "/Users/pramod/Desktop



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: