[英]Batch execution stops after building project from ant
I want to build a project and execute some commands from a batch file. 我想建立一个项目并从批处理文件中执行一些命令。 Here are my batch commands
这是我的批处理命令
cd C:\\MyFolder ant xslt echo completed!!
When I'm executing, it builds the project but it never comes to echo completed!!
当我执行时,它会构建项目,但是它永远不会
echo completed!!
line. 线。 In real scenario i want to execute some batch commands instead of
echo completed!!
在实际情况下,我想执行一些批处理命令而不是
echo completed!!
. 。
Use call ant xslt
instead. 请改用
call ant xslt
。 start /wait ant xslt
should work as well. start /wait ant xslt
应该工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.