{"action":"created","issue":{"url":"https://api.github.com/repos/Kbam7/42sh/issues/28","repository_url":"https://api.github.com/repos/Kbam7/42sh","labels_url":"https://api.github.com/repos/Kbam7/42sh/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/Kbam7/42sh/issues/28/comments","events_url":"https://api.github.com/repos/Kbam7/42sh/issues/28/events","html_url":"https://github.com/Kbam7/42sh/issues/28","id":173952004,"number":28,"title":"'42SH_PID' needs to move from the env vars","user":{"login":"Kbam7","id":12624041,"avatar_url":"https://avatars.githubusercontent.com/u/12624041?v=3","gravatar_id":"","url":"https://api.github.com/users/Kbam7","html_url":"https://github.com/Kbam7","followers_url":"https://api.github.com/users/Kbam7/followers","following_url":"https://api.github.com/users/Kbam7/following{/other_user}","gists_url":"https://api.github.com/users/Kbam7/gists{/gist_id}","starred_url":"https://api.github.com/users/Kbam7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kbam7/subscriptions","organizations_url":"https://api.github.com/users/Kbam7/orgs","repos_url":"https://api.github.com/users/Kbam7/repos","events_url":"https://api.github.com/users/Kbam7/events{/privacy}","received_events_url":"https://api.github.com/users/Kbam7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Kbam7","id":12624041,"avatar_url":"https://avatars.githubusercontent.com/u/12624041?v=3","gravatar_id":"","url":"https://api.github.com/users/Kbam7","html_url":"https://github.com/Kbam7","followers_url":"https://api.github.com/users/Kbam7/followers","following_url":"https://api.github.com/users/Kbam7/following{/other_user}","gists_url":"https://api.github.com/users/Kbam7/gists{/gist_id}","starred_url":"https://api.github.com/users/Kbam7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kbam7/subscriptions","organizations_url":"https://api.github.com/users/Kbam7/orgs","repos_url":"https://api.github.com/users/Kbam7/repos","events_url":"https://api.github.com/users/Kbam7/events{/privacy}","received_events_url":"https://api.github.com/users/Kbam7/received_events","type":"User","site_admin":false},"assignees":[{"login":"Kbam7","id":12624041,"avatar_url":"https://avatars.githubusercontent.com/u/12624041?v=3","gravatar_id":"","url":"https://api.github.com/users/Kbam7","html_url":"https://github.com/Kbam7","followers_url":"https://api.github.com/users/Kbam7/followers","following_url":"https://api.github.com/users/Kbam7/following{/other_user}","gists_url":"https://api.github.com/users/Kbam7/gists{/gist_id}","starred_url":"https://api.github.com/users/Kbam7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kbam7/subscriptions","organizations_url":"https://api.github.com/users/Kbam7/orgs","repos_url":"https://api.github.com/users/Kbam7/repos","events_url":"https://api.github.com/users/Kbam7/events{/privacy}","received_events_url":"https://api.github.com/users/Kbam7/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-30T07:50:47Z","updated_at":"2016-09-09T08:55:25Z","closed_at":null,"body":"This is a continuation of the issue mentioned in [issue #19](https://github.com/Kbam7/42sh/issues/19#issuecomment-243339142)\r\n---------------\r\nLine 70 in init.c is for storing the parent process ID so that we can exit a child process without\r\nsetting the terminal attributes back to the default settings. There probably is a better way to do it.\r\nLike adding the PID's to an array or something and then just checking if the current PID is position\r\n'0' in the array. If it is, then do a full exit otherwise just free memory and kill the process.\r\n"},"comment":{"url":"https://api.github.com/repos/Kbam7/42sh/issues/comments/245857707","html_url":"https://github.com/Kbam7/42sh/issues/28#issuecomment-245857707","issue_url":"https://api.github.com/repos/Kbam7/42sh/issues/28","id":245857707,"user":{"login":"kylegani","id":18421182,"avatar_url":"https://avatars.githubusercontent.com/u/18421182?v=3","gravatar_id":"","url":"https://api.github.com/users/kylegani","html_url":"https://github.com/kylegani","followers_url":"https://api.github.com/users/kylegani/followers","following_url":"https://api.github.com/users/kylegani/following{/other_user}","gists_url":"https://api.github.com/users/kylegani/gists{/gist_id}","starred_url":"https://api.github.com/users/kylegani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylegani/subscriptions","organizations_url":"https://api.github.com/users/kylegani/orgs","repos_url":"https://api.github.com/users/kylegani/repos","events_url":"https://api.github.com/users/kylegani/events{/privacy}","received_events_url":"https://api.github.com/users/kylegani/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T08:55:25Z","updated_at":"2016-09-09T08:55:25Z","body":"I am using this env var for signals. Please do not remove :)\r\n"}}
{"actor":{"display_login":"kylegani"}}