{"action":"created","issue":{"url":"https://api.github.com/repos/chef/mixlib-shellout/issues/94","labels_url":"https://api.github.com/repos/chef/mixlib-shellout/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/chef/mixlib-shellout/issues/94/comments","events_url":"https://api.github.com/repos/chef/mixlib-shellout/issues/94/events","html_url":"https://github.com/chef/mixlib-shellout/pull/94","id":76742016,"number":94,"title":"remove getpgrp back to setsid","user":{"login":"lamont-granquist","id":454857,"avatar_url":"https://avatars.githubusercontent.com/u/454857?v=3","gravatar_id":"","url":"https://api.github.com/users/lamont-granquist","html_url":"https://github.com/lamont-granquist","followers_url":"https://api.github.com/users/lamont-granquist/followers","following_url":"https://api.github.com/users/lamont-granquist/following{/other_user}","gists_url":"https://api.github.com/users/lamont-granquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lamont-granquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamont-granquist/subscriptions","organizations_url":"https://api.github.com/users/lamont-granquist/orgs","repos_url":"https://api.github.com/users/lamont-granquist/repos","events_url":"https://api.github.com/users/lamont-granquist/events{/privacy}","received_events_url":"https://api.github.com/users/lamont-granquist/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/mixlib-shellout/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-15T14:22:33Z","updated_at":"2015-05-15T17:11:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/mixlib-shellout/pulls/94","html_url":"https://github.com/chef/mixlib-shellout/pull/94","diff_url":"https://github.com/chef/mixlib-shellout/pull/94.diff","patch_url":"https://github.com/chef/mixlib-shellout/pull/94.patch"},"body":"POSIX standard defines setsid() to set the pgid to the pid of the calling process.  Use that to fix our race conditions and funkiness around setpgrp()/getpgrp().  Use setsid() again to remove the controlling tty.\r\n\r\nfixes #93 "},"comment":{"url":"https://api.github.com/repos/chef/mixlib-shellout/issues/comments/102460794","html_url":"https://github.com/chef/mixlib-shellout/pull/94#issuecomment-102460794","issue_url":"https://api.github.com/repos/chef/mixlib-shellout/issues/94","id":102460794,"user":{"login":"danielsdeleo","id":37162,"avatar_url":"https://avatars.githubusercontent.com/u/37162?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsdeleo","html_url":"https://github.com/danielsdeleo","followers_url":"https://api.github.com/users/danielsdeleo/followers","following_url":"https://api.github.com/users/danielsdeleo/following{/other_user}","gists_url":"https://api.github.com/users/danielsdeleo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsdeleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsdeleo/subscriptions","organizations_url":"https://api.github.com/users/danielsdeleo/orgs","repos_url":"https://api.github.com/users/danielsdeleo/repos","events_url":"https://api.github.com/users/danielsdeleo/events{/privacy}","received_events_url":"https://api.github.com/users/danielsdeleo/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T17:11:59Z","updated_at":"2015-05-15T17:11:59Z","body":"The explanation for why it's the way it is is in the comments you edited. Looks like this is how I wanted to do it, but it didn't work on AIX. If that's not an issue, then go for it."}}