Skip to content
Snippets Groups Projects
Commit 34fa8d1e authored by Marc Hoersken's avatar Marc Hoersken
Browse files

ftp.pm: Added tskill to support Windows XP Home

parent a03d0c5b
No related branches found
No related tags found
No related merge requests found
......@@ -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");
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment