首页 > TAG信息列表 > rspLine

java执行linux命令行

//服务器执行命令行方法 public List<String> executeNewFlow(List<String> commands) { List<String> rspList = new ArrayList<String>(); Runtime run = Runtime.getRuntime(); try { Process proc = run.exec(&quo