mirror of
https://github.com/curl/curl.git
synced 2026-07-25 16:47:16 +03:00
ftp.pm: Added tskill to support Windows XP Home
This commit is contained in:
parent
a03d0c5b88
commit
34fa8d1e38
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue