Skip to content

Commit 5d596be

Browse files
authored
[4.x] Fix issues when running on Windows. (#136 and #129) (#137)
* [4.x] Fix issues when running on Windows. (#136) * Update NewCommand.php
1 parent d636e24 commit 5d596be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NewCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
8282
$composer = $this->findComposer();
8383

8484
$commands = [
85-
$composer." create-project laravel/laravel $directory $version --remove-vcs --prefer-dist",
85+
$composer." create-project laravel/laravel \"$directory\" $version --remove-vcs --prefer-dist",
8686
];
8787

8888
if ($directory != '.' && $input->getOption('force')) {

0 commit comments

Comments
 (0)