We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e8ee44 commit 004beccCopy full SHA for 004becc
etc/config/command.php
@@ -23,9 +23,9 @@
23
$valid = validateCommand($magentoBinary, $command);
24
if ($valid) {
25
// Turn string into array for symfony escaping
26
- $commandParts = array_filter(explode(" ", $command));
27
- $argumentParts = array_filter(explode(" ", $arguments));
28
- $magentoBinaryParts = array_filter(explode(" ", $magentoBinary));
+ $commandParts = array_filter(explode(" ", $command), 'strlen');
+ $argumentParts = array_filter(explode(" ", $arguments), 'strlen');
+ $magentoBinaryParts = array_filter(explode(" ", $magentoBinary), 'strlen');
29
$commandArray = array_merge($magentoBinaryParts, $commandParts);
30
$process = new Symfony\Component\Process\Process($commandArray);
31
$process->setIdleTimeout(60);
0 commit comments