Skip to content

Commit da3acb6

Browse files
authored
Update AsyncQueue.php to work with Laravel >=7
Found the solution here: barryvdh#91 That issue is only 2.5 years old, but i'm not waiting
1 parent 1b40f11 commit da3acb6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AsyncQueue.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ public function startProcess($id)
134134
$command = $this->getCommand($id);
135135
$cwd = base_path();
136136

137-
$process = new Process([$command], $cwd);
138-
$process->run();
137+
Process::fromShellCommandline($command,$cwd)->run();
139138
}
140139

141140
/**

0 commit comments

Comments
 (0)