如题, bat中带有ant -debug则后面的命令没有执行就会退出cmd估计ant内部使用了exit? 我把ant.bat的exit删了还是这样子..无奈之下,我用了call ant -debug代替,这下问题解决了