Skip to content

Commit cb35555

Browse files
committed
Fixed Process issue for Laravel 7
1 parent c533163 commit cb35555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/InstallMenuBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function handle(Filesystem $filesystem)
7272

7373
$this->info('Dumping the autoloaded files and reloading all new files');
7474
$composer = $this->findComposer();
75-
$process = new Process($composer . ' dump-autoload');
75+
$process = Process::fromShellCommandline($composer . ' dump-autoload');
7676
$process->setTimeout(null); // Setting timeout to null to prevent installation from stopping at a certain point in time
7777
$process->setWorkingDirectory(base_path())->run();
7878

0 commit comments

Comments
 (0)