summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2013-04-06 12:55:57 +0200
committerMarc Hoersken <info@marc-hoersken.de>2013-04-06 12:55:57 +0200
commit34fa8d1e38b1465839c43bb6e676816d190ae796 (patch)
tree805a650f6d09a7a2a1d5aa94455e1b5870d787fd
parenta03d0c5b8804cd6d6ce91a167ad3c2b85eac1f85 (diff)
downloadcurl-34fa8d1e38b1465839c43bb6e676816d190ae796.tar.gz
ftp.pm: Added tskill to support Windows XP Home
-rw-r--r--tests/ftp.pm2
1 files changed, 2 insertions, 0 deletions
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");
}
}
}