Skip to content

Commit 6ed2be4

Browse files
committed
MQE-1510
1 parent 17082a1 commit 6ed2be4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

etc/config/command.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
$magentoBinary = $php . ' -f ../../../../bin/magento';
2323
$valid = validateCommand($magentoBinary, $command);
2424
if ($valid) {
25-
$process = new Symfony\Component\Process\Process($magentoBinary . " $command" . " $arguments");
25+
$fullCommand = escapeshellcmd($magentoBinary . " $command" . " $arguments");
26+
$process = new Symfony\Component\Process\Process($fullCommand);
2627
$process->setIdleTimeout(60);
2728
$process->setTimeout(0);
2829
$idleTimeout = false;

0 commit comments

Comments
 (0)