How to kill Ant forked process?

大兔子大兔子 提交于 2019-12-11 18:17:20

问题


I have an Ant build file and there is a task in it. The problem is every time i kill the outer Ant process the forked process is still running out there, so there will be many java process in Windows Task manager, I wonder if there is way when i kill the outer Ant process it will kill all child process at the same time.

Thanks.


回答1:


Yes using "kill process tree will" kill all sub-processes.



来源:https://stackoverflow.com/questions/7864683/how-to-kill-ant-forked-process

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!