Skip to content

Commit 2d39f02

Browse files
authored
Update AsyncQueue.php
Fix for Laravel 8
1 parent f2ac186 commit 2d39f02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/AsyncQueue.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ 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 = new Process([$command], $cwd);
138+
#$process->run();
139+
Process::fromShellCommandline($command,$cwd)->run();
139140
}
140141

141142
/**

0 commit comments

Comments
 (0)