[rt.cpan.org #67774] A safer alternative to TerminateProcess() ?

[email protected] ("Apocalypse via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Tue Apr 26 16:00:53 2011: Request 67774 was acted upon.
Transaction: Ticket created by APOCAL
       Queue: Win32-Process
     Subject: A safer alternative to TerminateProcess() ?
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67774 >


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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.