摘要:
Runtime run = Runtime.getRuntime();String command = "cmd /c cd /d C:/workspace/TestApp && mvn clean install -Dmaven.test.skip";// use && to link two dos command; also we can define a bat file, then calling this file via cmdBufferedReader br = new BufferedReader(new InputStr 阅读全文