Issue 5467: Fix worker and daemon
This commit is contained in:
@@ -1127,7 +1127,7 @@ class App
|
||||
return;
|
||||
}
|
||||
|
||||
$cmdline = $this->getConfigValue('config', 'php_path', 'php') . ' ' . $command;
|
||||
$cmdline = $this->getConfigValue('config', 'php_path', 'php') . ' ' . escapeshellarg($command);
|
||||
|
||||
foreach ($args as $key => $value) {
|
||||
if (!is_null($value) && is_bool($value) && !$value) {
|
||||
@@ -1140,8 +1140,6 @@ class App
|
||||
}
|
||||
}
|
||||
|
||||
$cmdline = escapeshellarg($cmdline);
|
||||
|
||||
if ($this->min_memory_reached()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user