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