如何杀死 Ant 分叉进程? [英] How to kill Ant forked process?
本文介绍了如何杀死 Ant 分叉进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个 Ant 构建文件,其中有一个任务.问题是每次我杀死外部 Ant 进程时,分叉进程仍然在那里运行,所以 Windows 任务管理器中会有很多 java 进程,我想知道当我杀死外部 Ant 进程时是否有办法它会杀死所有子进程同时处理.
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.
谢谢.
推荐答案
是的,使用kill process tree will"杀死所有子进程.
Yes using "kill process tree will" kill all sub-processes.
这篇关于如何杀死 Ant 分叉进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文