解决:使用call来调用命令
::当前目录 set work_path=%~dp0 cd /d %work_path% call mvn clean call mvn install echo ok... pause
执行结果:
标签:bat,pause,windows,work,maven,call From: https://www.cnblogs.com/wulm/p/17654658.html
解决:使用call来调用命令
::当前目录 set work_path=%~dp0 cd /d %work_path% call mvn clean call mvn install echo ok... pause
执行结果:
标签:bat,pause,windows,work,maven,call From: https://www.cnblogs.com/wulm/p/17654658.html