diff --git a/src/Commands/installPermission.php b/src/Commands/installPermission.php index 7eb0232..540576b 100644 --- a/src/Commands/installPermission.php +++ b/src/Commands/installPermission.php @@ -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();