diff --git a/src/Command/Self/SelfInstallCommand.php b/src/Command/Self/SelfInstallCommand.php index b61ff601c3..a29c77083c 100644 --- a/src/Command/Self/SelfInstallCommand.php +++ b/src/Command/Self/SelfInstallCommand.php @@ -102,7 +102,7 @@ protected function execute(InputInterface $input, OutputInterface $output) try { $args = [ '--generate-hook' => true, - '--program' => $this->config()->get('application.executable'), + '--program' => '"' . $this->config()->get('application.executable') . '"', ]; if ($shellType) { $args['--shell-type'] = $shellType;