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 17082a1 commit 6ed2be4Copy full SHA for 6ed2be4
etc/config/command.php
@@ -22,7 +22,8 @@
22
$magentoBinary = $php . ' -f ../../../../bin/magento';
23
$valid = validateCommand($magentoBinary, $command);
24
if ($valid) {
25
- $process = new Symfony\Component\Process\Process($magentoBinary . " $command" . " $arguments");
+ $fullCommand = escapeshellcmd($magentoBinary . " $command" . " $arguments");
26
+ $process = new Symfony\Component\Process\Process($fullCommand);
27
$process->setIdleTimeout(60);
28
$process->setTimeout(0);
29
$idleTimeout = false;
0 commit comments