diff --git a/src/Mage/Runtime/Runtime.php b/src/Mage/Runtime/Runtime.php index 8b23209..400b736 100644 --- a/src/Mage/Runtime/Runtime.php +++ b/src/Mage/Runtime/Runtime.php @@ -426,7 +426,7 @@ class Runtime } } - $cmdRemote = str_replace(['"', '&', ';'], ['\"', '\&', '\;'], $cmdDelegate); + $cmdRemote = str_replace(['"', '&', ';', '|'], ['\"', '\&', '\;', '\|'], $cmdDelegate); $cmdLocal = sprintf('ssh -p %d %s %s@%s sh -c \"%s\"', $sshConfig['port'], $sshConfig['flags'], $user, $host, $cmdRemote); return $this->runLocalCommand($cmdLocal, $timeout);