diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2013-04-06 12:55:57 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2013-04-06 12:55:57 +0200 |
commit | 34fa8d1e38b1465839c43bb6e676816d190ae796 (patch) | |
tree | 805a650f6d09a7a2a1d5aa94455e1b5870d787fd | |
parent | a03d0c5b8804cd6d6ce91a167ad3c2b85eac1f85 (diff) | |
download | curl-34fa8d1e38b1465839c43bb6e676816d190ae796.tar.gz |
ftp.pm: Added tskill to support Windows XP Home
-rw-r--r-- | tests/ftp.pm | 2 |
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"); } } } |