This commit is contained in:
as2252258@163.com
2021-03-28 16:31:49 +08:00
parent 0bcdce1112
commit 24cf4c4c90
+1
View File
@@ -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;
}