Skip to content

Commit 134a14f

Browse files
committed
fixed installation on Laravel 7
1 parent a42a1ba commit 134a14f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/Console/Commands/Install.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ public function executeProcess($command, $beforeNotice = false, $afterNotice = f
132132
{
133133
$this->echo('info', $beforeNotice ? ' '.$beforeNotice : $command);
134134

135+
$command = is_string($command) ? explode(' ', $command) : $command;
136+
135137
$process = new Process($command, null, null, null, $this->option('timeout'));
136138
$process->run(function ($type, $buffer) {
137139
if (Process::ERR === $type) {

0 commit comments

Comments
 (0)