From 1f639b499dd00501bf7a3c843e4b36ee875df040 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 28 Mar 2021 16:22:03 +0800 Subject: [PATCH] modify --- HttpServer/Shutdown.php | 1 + 1 file changed, 1 insertion(+) diff --git a/HttpServer/Shutdown.php b/HttpServer/Shutdown.php index f28d5545..ff780d11 100644 --- a/HttpServer/Shutdown.php +++ b/HttpServer/Shutdown.php @@ -78,6 +78,7 @@ class Shutdown extends Component { $shell = 'ps -eo pid,cmd,state | grep %d | grep -v grep'; exec(sprintf($shell, $content), $content, $code); + var_dump(sprintf($shell, $content), $content, $code); if (empty($content)) { return false; }