Skip to content

Commit

Permalink
Fixed Process issue for Laravel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
maab16 committed Mar 18, 2020
1 parent c533163 commit cb35555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/InstallMenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function handle(Filesystem $filesystem)

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

Expand Down

0 comments on commit cb35555

Please sign in to comment.