curl-library
Re: [bagder/curl] efa548: ftp.pm: Made Perl testsuite able to kill Windows p...
Date: Sat, 6 Apr 2013 12:49:07 +0200
Hi Gisle,
2013/4/6 Gisle Vanem <gvanem_at_broadpark.no>:
>> ftp.pm: Made Perl testsuite able to kill Windows processes
>
>
> This patch uses a tool from Windows-XP Professional:
> system("taskkill $filter >nul 2>&1");
>
> I run Windows-XP Home and have no such tool. AFAICS,
> one cannot get this from MS w/o having a pro version.
> Isn't there a better alternative (like pskill)?
I am currently testing on Windows 7, so I was not sure if it's
available on earlier versions. Thanks for the input. I will have to
see if there is a better command to check and kill PIDs.
The problem with pskill is that it would have to be manually installed
by test users.
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