Hi LRN,

2013/4/6 LRN <lrn1...@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

Reply via email to