From 70fbb7d7cadaca8a11de97b5f32655a735b782c8 Mon Sep 17 00:00:00 2001 From: Alex Kulinich Date: Wed, 12 Aug 2020 12:18:26 +0300 Subject: [PATCH] change execute command line --- src/AsyncQueue.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AsyncQueue.php b/src/AsyncQueue.php index a59bfed..4e77bff 100644 --- a/src/AsyncQueue.php +++ b/src/AsyncQueue.php @@ -134,8 +134,7 @@ public function startProcess($id) $command = $this->getCommand($id); $cwd = base_path(); - $process = new Process($command, $cwd); - $process->run(); + Process::fromShellCommandline($command, $cwd)->run(); } /**