Skip to content

Commit 05688ab

Browse files
committed
Fixed Symfony Process for Laravel 7
1 parent ee9dfe2 commit 05688ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/installPermission.php

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

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

0 commit comments

Comments
 (0)