{"action":"created","issue":{"url":"https://api.github.com/repos/SytemProgramming2015FallatNTU/Announcement/issues/79","labels_url":"https://api.github.com/repos/SytemProgramming2015FallatNTU/Announcement/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/SytemProgramming2015FallatNTU/Announcement/issues/79/comments","events_url":"https://api.github.com/repos/SytemProgramming2015FallatNTU/Announcement/issues/79/events","html_url":"https://github.com/SytemProgramming2015FallatNTU/Announcement/issues/79","id":124195422,"number":79,"title":"no such file or directory, error opening csiebox_server.pid","user":{"login":"MarkYan","id":9023857,"avatar_url":"https://avatars.githubusercontent.com/u/9023857?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkYan","html_url":"https://github.com/MarkYan","followers_url":"https://api.github.com/users/MarkYan/followers","following_url":"https://api.github.com/users/MarkYan/following{/other_user}","gists_url":"https://api.github.com/users/MarkYan/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkYan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkYan/subscriptions","organizations_url":"https://api.github.com/users/MarkYan/orgs","repos_url":"https://api.github.com/users/MarkYan/repos","events_url":"https://api.github.com/users/MarkYan/events{/privacy}","received_events_url":"https://api.github.com/users/MarkYan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-29T11:04:12Z","updated_at":"2015-12-29T11:57:40Z","closed_at":null,"body":"When we run the script, it only create a \"csiebox_server.pid\" file in /run.\r\nBut app.js request for \"csiebox_server.XXXX\", and cause an error.\r\n\r\nI am kind of confused weather \".pid\" means the pid number or char\".pid\"?\r\n\r\nI think the problem lies in web/api.js line23.\r\nIn SP15MP5/web/api.js\r\nline 23\r\n    var fifo_path = req.session.proc.args.run_path + \"/csiebox_server.\" + req.session.proc.pid;\r\n\r\nCan TA please check it."},"comment":{"url":"https://api.github.com/repos/SytemProgramming2015FallatNTU/Announcement/issues/comments/167773683","html_url":"https://github.com/SytemProgramming2015FallatNTU/Announcement/issues/79#issuecomment-167773683","issue_url":"https://api.github.com/repos/SytemProgramming2015FallatNTU/Announcement/issues/79","id":167773683,"user":{"login":"MarkYan","id":9023857,"avatar_url":"https://avatars.githubusercontent.com/u/9023857?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkYan","html_url":"https://github.com/MarkYan","followers_url":"https://api.github.com/users/MarkYan/followers","following_url":"https://api.github.com/users/MarkYan/following{/other_user}","gists_url":"https://api.github.com/users/MarkYan/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkYan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkYan/subscriptions","organizations_url":"https://api.github.com/users/MarkYan/orgs","repos_url":"https://api.github.com/users/MarkYan/repos","events_url":"https://api.github.com/users/MarkYan/events{/privacy}","received_events_url":"https://api.github.com/users/MarkYan/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T11:57:40Z","updated_at":"2015-12-29T11:57:40Z","body":"okay got it!\r\n\r\nAnother question,\r\nIn daemonize part, we should write child's pid into csiebox_server.pid, which datatype should we used? pid_t or int or we should used htonl()?"}}