{"action":"created","issue":{"url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/33","labels_url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/33/comments","events_url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/33/events","html_url":"https://github.com/ricardofbarros/linter-js-standard/issues/33","id":97128558,"number":33,"title":"stdout not captured on Windows 8","user":{"login":"timdp","id":201034,"avatar_url":"https://avatars.githubusercontent.com/u/201034?v=3","gravatar_id":"","url":"https://api.github.com/users/timdp","html_url":"https://github.com/timdp","followers_url":"https://api.github.com/users/timdp/followers","following_url":"https://api.github.com/users/timdp/following{/other_user}","gists_url":"https://api.github.com/users/timdp/gists{/gist_id}","starred_url":"https://api.github.com/users/timdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdp/subscriptions","organizations_url":"https://api.github.com/users/timdp/orgs","repos_url":"https://api.github.com/users/timdp/repos","events_url":"https://api.github.com/users/timdp/events{/privacy}","received_events_url":"https://api.github.com/users/timdp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-24T19:40:52Z","updated_at":"2015-07-24T21:11:53Z","closed_at":"2015-07-24T21:11:53Z","body":"I originally reported this as atom-community/linter#768:\r\n\r\n> I was originally facing ricardofbarros/linter-js-standard#30, but I've further debugged the issue and it now looks like there is something awry in atom-linter 2.0.1. More specifically, on Windows 8 at least, Atom 1.0.2 seems unable to capture the child process's stdout.\r\n> \r\n> I instrumented `helpers.coffee` to log the various stages of process creation. Basically, I see linter-js-standard invoke `atom.exe` with `ATOM_SHELL_INTERNAL_RUN_AS_NODE=1`. If the file has errors, then the status code differs, so it _is_ linting. However, there is never any standard output and hence no errors.\r\n> \r\n> In a Windows Command Prompt, I did a `set` on the variable above and then ran `atom.exe` with the same arguments. Interestingly, it immediately went to a blank prompt and _then_ showed the output of the linter. It doesn't exhibit this behavior with a regular `node.exe`.\r\n> \r\n> Additionally, I tried overriding `command` with `node.exe` (which is in my `PATH`), and that actually fixed the issue. Hence, it seems as though Electron run as Node behaves differently than a regular Node. It might very well be that the issue is with Electron instead. In that case, atom/electron#1463 should probably be reopened. However, since I've only seen it occur with atom-linter, I wanted to report it here first.\r\n\r\nHowever, it now looks like this issue is linter-js-standard-specific. I've verified that linter-jshint works as expected, as @steelbrain suggested."},"comment":{"url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/comments/124725823","html_url":"https://github.com/ricardofbarros/linter-js-standard/issues/33#issuecomment-124725823","issue_url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/33","id":124725823,"user":{"login":"timdp","id":201034,"avatar_url":"https://avatars.githubusercontent.com/u/201034?v=3","gravatar_id":"","url":"https://api.github.com/users/timdp","html_url":"https://github.com/timdp","followers_url":"https://api.github.com/users/timdp/followers","following_url":"https://api.github.com/users/timdp/following{/other_user}","gists_url":"https://api.github.com/users/timdp/gists{/gist_id}","starred_url":"https://api.github.com/users/timdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdp/subscriptions","organizations_url":"https://api.github.com/users/timdp/orgs","repos_url":"https://api.github.com/users/timdp/repos","events_url":"https://api.github.com/users/timdp/events{/privacy}","received_events_url":"https://api.github.com/users/timdp/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T21:11:53Z","updated_at":"2015-07-24T21:11:53Z","body":"It sure does. :+1:"}}