{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/794","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/794/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/794/events","html_url":"https://github.com/flycheck/flycheck/issues/794","id":117156500,"number":794,"title":"flycheck hangs with eslint","user":{"login":"brunoqc","id":24027,"avatar_url":"https://avatars.githubusercontent.com/u/24027?v=3","gravatar_id":"","url":"https://api.github.com/users/brunoqc","html_url":"https://github.com/brunoqc","followers_url":"https://api.github.com/users/brunoqc/followers","following_url":"https://api.github.com/users/brunoqc/following{/other_user}","gists_url":"https://api.github.com/users/brunoqc/gists{/gist_id}","starred_url":"https://api.github.com/users/brunoqc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunoqc/subscriptions","organizations_url":"https://api.github.com/users/brunoqc/orgs","repos_url":"https://api.github.com/users/brunoqc/repos","events_url":"https://api.github.com/users/brunoqc/events{/privacy}","received_events_url":"https://api.github.com/users/brunoqc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flycheck/flycheck/labels/invalid","name":"invalid","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-11-16T16:01:23Z","updated_at":"2015-12-28T03:03:41Z","closed_at":"2015-11-16T16:48:16Z","body":"I have 80 errors in my file if I run eslint from the command line. I tested with a smaller file (with less errors) and it was fine. Emacs has 0% cpu usage and I don't see eslint in the process manager. I think it's related to eslint since the file opens if I remove eslint from my PATH.\r\n\r\nThere's nothing in the message buffer.\r\n\r\nGNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-05-16 on KAEL"},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/167463598","html_url":"https://github.com/flycheck/flycheck/issues/794#issuecomment-167463598","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/794","id":167463598,"user":{"login":"wsw0108","id":4977975,"avatar_url":"https://avatars.githubusercontent.com/u/4977975?v=3","gravatar_id":"","url":"https://api.github.com/users/wsw0108","html_url":"https://github.com/wsw0108","followers_url":"https://api.github.com/users/wsw0108/followers","following_url":"https://api.github.com/users/wsw0108/following{/other_user}","gists_url":"https://api.github.com/users/wsw0108/gists{/gist_id}","starred_url":"https://api.github.com/users/wsw0108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsw0108/subscriptions","organizations_url":"https://api.github.com/users/wsw0108/orgs","repos_url":"https://api.github.com/users/wsw0108/repos","events_url":"https://api.github.com/users/wsw0108/events{/privacy}","received_events_url":"https://api.github.com/users/wsw0108/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T03:03:41Z","updated_at":"2015-12-28T03:03:41Z","body":"@brunoqc I had the same problem, but with jshint.cmd.\r\n\r\nAnd I found that if the length of buffer/file less than or equals to 4096 bytes, jshint works fine, otherwise jshint hangs emacs...\r\n\r\nI guess this caused by write() in mingw-msys that build emacs.\r\n\r\nhttps://github.com/flycheck/flycheck/blob/master/flycheck.el#L4631\r\nhttps://github.com/emacs-mirror/emacs/blob/master/src/process.c#L5796\r\nhttps://github.com/emacs-mirror/emacs/blob/master/src/sysdep.c#L2421\r\nhttps://github.com/emacs-mirror/emacs/blob/master/src/sysdep.c#L2386"}}