Replace backtick operator with shell_exec()

The backtick operator is deprecated as of PHP 8.5.
This commit is contained in:
Bastian Lederer 2025-11-25 13:04:01 +01:00 committed by Eric Lippmann
parent e9f6c7721d
commit d6f6afbe45

View file

@ -67,7 +67,7 @@ class WebCommand extends Command
{
// TODO: No, that's NOT what we want
$prog = readlink('/proc/self/exe');
`killall $prog`;
shell_exec("killall $prog");
}
protected function forkAndExit()