80,493
社区成员
发帖
与我相关
我的任务
分享public void execCommand(String command){
System.out.println("execCommand........");
Process proc = null;
try {
Runtime runtime = Runtime.getRuntime();
proc = runtime.exec(command);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}