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 7129dce commit b398d64Copy full SHA for b398d64
src/Command.php
@@ -164,7 +164,7 @@ public function setCommand($command)
164
165
// Absolute path. If it's a relative path, let it slide.
166
if ($position) {
167
- $command = sprintf($command[$position - 1].': && cd %s && %s', escapeshellarg(dirname($command)), basename($command));
+ $command = sprintf($command[$position - 1].': && cd %s && %s', escapeshellarg(dirname($command)), escapeshellarg(basename($command)));
168
}
169
170
$this->_command = $command;
0 commit comments