hack: make kill terminate sub-process treework/win32-kill-hackkill-hack
commit6db3d395faa82f597c8bf4a7cba85a57ee3f2f2a
authorErik Faye-Lund <kusmabite@gmail.com>
Wed, 23 Dec 2009 01:56:59 +0000 (23 02:56 +0100)
committerErik Faye-Lund <kusmabite@gmail.com>
Mon, 27 Sep 2010 21:25:46 +0000 (27 23:25 +0200)
tree394d10dc9712c5f66fa5f78c0fc3ae612bbc7579
parent43fe4b8cec92a80d34ec0711b08ce2a5721237c3
hack: make kill terminate sub-process tree

The code iterates hierarchically through a snapshot of all the
processes in the system to kill the entire process sub-tree
(that is, it also terminates the subprocesses, which
TerminateProcess() doesn't do for us).

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
compat/mingw.c