From 34fa8d1e38b1465839c43bb6e676816d190ae796 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sat, 6 Apr 2013 12:55:57 +0200 Subject: ftp.pm: Added tskill to support Windows XP Home --- tests/ftp.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/ftp.pm') diff --git a/tests/ftp.pm b/tests/ftp.pm index 76c6d5746..2e125e293 100644 --- a/tests/ftp.pm +++ b/tests/ftp.pm @@ -112,6 +112,8 @@ sub pidkill { my $result = `tasklist -fi \"$filter\" 2>nul`; if(index($result, "$pid") != -1) { system("taskkill -f -fi \"$filter\" >nul 2>&1"); + # Windows XP Home compatibility + system("tskill $pid >nul 2>&1"); } } } -- cgit v1.2.3