Skip to content

Commit

Permalink
Fixed Symfony Process for Laravel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
maab16 committed Mar 23, 2020
1 parent ee9dfe2 commit 05688ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/installPermission.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,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 05688ab

Please sign in to comment.