From 4aa4dd13a003469ea26f157621c83a2889b05c93 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 28 Nov 2019 11:17:42 +0800 Subject: [PATCH] Update ProcessService.php --- vendor/zoujingli/think-library/src/service/ProcessService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/zoujingli/think-library/src/service/ProcessService.php b/vendor/zoujingli/think-library/src/service/ProcessService.php index 1795ff82b..18d72f675 100644 --- a/vendor/zoujingli/think-library/src/service/ProcessService.php +++ b/vendor/zoujingli/think-library/src/service/ProcessService.php @@ -55,7 +55,7 @@ class ProcessService extends Service if ($this->iswin()) { $this->exec(__DIR__ . "/bin/console.exe {$command}"); } else { - $this->exec("{$command} &"); + $this->exec("{$command} 2>&1"); } return $this; }