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 aac2452 commit 1bc32b7Copy full SHA for 1bc32b7
src/Command.php
@@ -159,7 +159,7 @@ public function setCommand($command)
159
160
// Absolute path. If it's a relative path, let it slide.
161
if ($position) {
162
- $command = sprintf($command[$position - 1].'cd %s && %s', escapeshellarg(dirname($command)), basename($command));
+ $command = sprintf($command[$position - 1].':\;cd %s && %s', escapeshellarg(dirname($command)), basename($command));
163
}
164
165
$this->_command = $command;
0 commit comments