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 835cb66 + 196382a commit 1063b4cCopy full SHA for 1063b4c
src/ComposerPlugin.php
@@ -210,7 +210,7 @@ private function runCaptainCommand(string $command): void
210
$configuration = ' -c ' . escapeshellarg($this->configuration);
211
$repository = $command === self::COMMAND_INSTALL ? ' -g ' . escapeshellarg($this->gitDirectory) : '';
212
$skip = $command === self::COMMAND_INSTALL ? ' -s' : '';
213
- $executable = str_replace(' ', '\\ ', $this->executable);
+ $executable = escapeshellarg($this->executable);
214
215
// sub process settings
216
$cmd = $executable . ' ' . $command . $ansi . $interaction . $skip . $configuration . $repository;
0 commit comments