Kill process tree from the top down.
authorIain Patterson <me@iain.cx>
Mon, 27 Jan 2014 22:21:15 +0000 (22:21 +0000)
committerIain Patterson <me@iain.cx>
Mon, 27 Jan 2014 22:34:17 +0000 (22:34 +0000)
commit26485566b24c8114aebf102902d96f667adb94b7
tree2f9fcd9e25144f3ee68d03de58bdb52d77ccf402
parent8663869ce7d0e0aedbd05dcba47f5472f7ac8c2e
Kill process tree from the top down.

On Windows 8.1 (and maybe other versions), attempting to kill
conhost.exe before its parent cmd.exe will cause the attempt to kill the
latter to fail and the console window to remain active after the service
ends.

We now kill the members of the process tree in reverse order, so the
problem doesn't occur.

Thanks Czenda Czendov.
README.txt
process.cpp