mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
ftp.pm: Added tskill to support Windows XP Home
This commit is contained in:
parent
a03d0c5b88
commit
34fa8d1e38
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user