Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2020-02-07 18:13:55 +00:00
88 changed files with 543 additions and 283 deletions

View File

@ -126,7 +126,7 @@ final class Process{
}
switch(Utils::getOS()){
case "win":
exec("taskkill.exe /F /PID " . ((int) $pid) . " > NUL");
exec("taskkill.exe /F /PID $pid > NUL");
break;
case "mac":
case "linux":
@ -134,7 +134,7 @@ final class Process{
if(function_exists("posix_kill")){
posix_kill($pid, 9); //SIGKILL
}else{
exec("kill -9 " . ((int) $pid) . " > /dev/null 2>&1");
exec("kill -9 $pid > /dev/null 2>&1");
}
}
}