We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57db2a8 commit 097b03fCopy full SHA for 097b03f
1 file changed
src/ComposerPlugin.php
@@ -175,9 +175,10 @@ private function runCaptainCommand(string $command): void
175
$configuration = ' -c ' . escapeshellarg($this->configuration);
176
$repository = $command === self::COMMAND_INSTALL ? ' -g ' . escapeshellarg($this->gitDirectory) : '';
177
$skip = $command === self::COMMAND_INSTALL ? ' -s' : '';
178
+ $executable = str_replace(' ', '\\ ', $this->executable);
179
- // sub process settings
180
- $cmd = $this->executable . ' ' . $command . $ansi . $interaction . $skip . $configuration . $repository;
+ // sub process settings
181
+ $cmd = $executable . ' ' . $command . $ansi . $interaction . $skip . $configuration . $repository;
182
$pipes = [];
183
$spec = [
184
0 => ['file', 'php://stdin', 'r'],
0 commit comments