From 0f72a42c7c5e454494aee39ddb274a36a33fd70b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 2 Mar 2021 14:06:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Error/Logger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Error/Logger.php b/System/Error/Logger.php index faa7bbe0..18876e0d 100644 --- a/System/Error/Logger.php +++ b/System/Error/Logger.php @@ -172,7 +172,7 @@ class Logger extends Component if (Context::inCoroutine()) Coroutine\System::exec($command); else - \exec($command); + \shell_exec($command); } }