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; }