{"action":"created","issue":{"url":"https://api.github.com/repos/frerich/clcache/issues/156","repository_url":"https://api.github.com/repos/frerich/clcache","labels_url":"https://api.github.com/repos/frerich/clcache/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/frerich/clcache/issues/156/comments","events_url":"https://api.github.com/repos/frerich/clcache/issues/156/events","html_url":"https://github.com/frerich/clcache/pull/156","id":164686656,"number":156,"title":"Fix print stderr bug on preprocessor fail","user":{"login":"webmaster128","id":2603011,"avatar_url":"https://avatars.githubusercontent.com/u/2603011?v=3","gravatar_id":"","url":"https://api.github.com/users/webmaster128","html_url":"https://github.com/webmaster128","followers_url":"https://api.github.com/users/webmaster128/followers","following_url":"https://api.github.com/users/webmaster128/following{/other_user}","gists_url":"https://api.github.com/users/webmaster128/gists{/gist_id}","starred_url":"https://api.github.com/users/webmaster128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmaster128/subscriptions","organizations_url":"https://api.github.com/users/webmaster128/orgs","repos_url":"https://api.github.com/users/webmaster128/repos","events_url":"https://api.github.com/users/webmaster128/events{/privacy}","received_events_url":"https://api.github.com/users/webmaster128/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-07-09T21:32:52Z","updated_at":"2016-07-12T17:47:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/frerich/clcache/pulls/156","html_url":"https://github.com/frerich/clcache/pull/156","diff_url":"https://github.com/frerich/clcache/pull/156.diff","patch_url":"https://github.com/frerich/clcache/pull/156.patch"},"body":"This is a follow-up on #153 because I think I found a place in the code, that does not do proper binary output to stdout/stderr:\r\n\r\n```python\r\n    @staticmethod\r\n    def computeKey(compilerBinary, commandLine):\r\n        ppcmd = [compilerBinary, \"/EP\"]\r\n        ppcmd += [arg for arg in commandLine if arg not in (\"-c\", \"/c\")]\r\n        preprocessor = Popen(ppcmd, stdout=PIPE, stderr=PIPE)\r\n        (preprocessedSourceCode, pperr) = preprocessor.communicate()\r\n\r\n        if preprocessor.returncode != 0:\r\n            sys.stderr.write(pperr)\r\n            sys.stderr.write(\"clcache: preprocessor failed\\n\")\r\n            sys.exit(preprocessor.returncode)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/frerich/clcache/issues/comments/232124089","html_url":"https://github.com/frerich/clcache/pull/156#issuecomment-232124089","issue_url":"https://api.github.com/repos/frerich/clcache/issues/156","id":232124089,"user":{"login":"frerich","id":533425,"avatar_url":"https://avatars.githubusercontent.com/u/533425?v=3","gravatar_id":"","url":"https://api.github.com/users/frerich","html_url":"https://github.com/frerich","followers_url":"https://api.github.com/users/frerich/followers","following_url":"https://api.github.com/users/frerich/following{/other_user}","gists_url":"https://api.github.com/users/frerich/gists{/gist_id}","starred_url":"https://api.github.com/users/frerich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frerich/subscriptions","organizations_url":"https://api.github.com/users/frerich/orgs","repos_url":"https://api.github.com/users/frerich/repos","events_url":"https://api.github.com/users/frerich/events{/privacy}","received_events_url":"https://api.github.com/users/frerich/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T17:47:57Z","updated_at":"2016-07-12T17:47:57Z","body":"Wow, good job!"}}
{"actor":{"display_login":"frerich"}}