Subject: | A safer alternative to TerminateProcess() ? |
Hello,
I was browsing the interwebs and found this page.
http://drdobbs.com/windows/184416547?pgno=1
I noticed that various CPAN smokers sometimes gets "wedged" on win32
because they attempt to kill the smoking process and in turn, it wedges
the Perl DLL. While I have encountered this a few times, others have
said it happens with regularity.
I thought this would be a good workaround, and is willing to help add
this functionality to the module. What do you think? If it was to be
added, it should be called something like
Win32::Process::SafeKillProcess() and $ProcessObj->SafeKill();
If this is a viable concept and if we can get it to work, I'll be very
happy and will prod the various CPAN toolchain authors to use it on
MSWin32 so we have a safer smoking environment :)
Thanks again!
--
~Apocalypse