From 7c7d4a306c1ce103af2ded5f6eb2069a68a9d3ea Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Thu, 9 Jul 2020 05:20:16 +0100 Subject: [PATCH] Separate process args --- app/Console/Commands/Install.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index c8a29f7..11f533e 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -56,9 +56,8 @@ class Install extends Command // Command stack - $composer = new Process('composer install', $basePath); - $npm = new Process('npm install', $basePath); - $npmBuild = new Process('npm run dev', $basePath); + $npm = new Process(['npm', 'install'], $basePath); + $npmBuild = new Process(['npm', 'run dev'], $basePath); $this->info('>> Installing and preparing dependencies. This may take a while, depending on your computer.');