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.
2 parents 7129dce + b398d64 commit 35648b3Copy full SHA for 35648b3
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