From 03295ee3debffeb4e7df7399fa64eb6591ecd650 Mon Sep 17 00:00:00 2001 From: antytec <66252889+antytec@users.noreply.github.com> Date: Mon, 1 Jun 2020 13:26:04 +0200 Subject: [PATCH] Compatible with symfony/process 5x --- src/AsyncQueue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncQueue.php b/src/AsyncQueue.php index a59bfed..3db92f8 100644 --- a/src/AsyncQueue.php +++ b/src/AsyncQueue.php @@ -134,7 +134,7 @@ public function startProcess($id) $command = $this->getCommand($id); $cwd = base_path(); - $process = new Process($command, $cwd); + $process = new Process([$command], $cwd); $process->run(); }