cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [bagder/curl] efa548: ftp.pm: Made Perl testsuite able to kill Windows p...

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Sat, 6 Apr 2013 17:12:22 +0200

Hi LRN,

2013/4/6 LRN <lrn1986_at_gmail.com>:
> You can use Win32API Perl module and TerminateProcess or
> SafeTerminateProcess.
> Also, CreateJobObject + AssignProcessToJobObject can be used to
> implement behaviour similar to kill -<pid>. Obviously, that also
> requires Win32API module.

I added support for Windows XP by also using tskill to terminate the process.
I personally don't like the idea of adding new third-party Perl
modules with Windows API dependencies, unless it's a requirement. Any
objections?

Best regards,
Marc
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-06