This commit is contained in:
as2252258@163.com
2021-03-28 16:22:03 +08:00
parent c0b0bd003d
commit 1f639b499d
+1
View File
@@ -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;
}