File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -175,9 +175,10 @@ private function runCaptainCommand(string $command): void
175
175
$ configuration = ' -c ' . escapeshellarg ($ this ->configuration );
176
176
$ repository = $ command === self ::COMMAND_INSTALL ? ' -g ' . escapeshellarg ($ this ->gitDirectory ) : '' ;
177
177
$ skip = $ command === self ::COMMAND_INSTALL ? ' -s ' : '' ;
178
+ $ executable = str_replace (' ' , '\\ ' , $ this ->executable );
178
179
179
- // sub process settings
180
- $ cmd = $ this -> executable . ' ' . $ command . $ ansi . $ interaction . $ skip . $ configuration . $ repository ;
180
+ // sub process settings
181
+ $ cmd = $ executable . ' ' . $ command . $ ansi . $ interaction . $ skip . $ configuration . $ repository ;
181
182
$ pipes = [];
182
183
$ spec = [
183
184
0 => ['file ' , 'php://stdin ' , 'r ' ],
You can’t perform that action at this time.
0 commit comments