{"action":"created","issue":{"url":"https://api.github.com/repos/atom-community/linter/issues/150","labels_url":"https://api.github.com/repos/atom-community/linter/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/atom-community/linter/issues/150/comments","events_url":"https://api.github.com/repos/atom-community/linter/issues/150/events","html_url":"https://github.com/atom-community/linter/issues/150","id":39385049,"number":150,"title":"`$PATH` only present when Atom is launched from command line","user":{"login":"dmnd","id":4427,"avatar_url":"https://avatars.githubusercontent.com/u/4427?v=3","gravatar_id":"","url":"https://api.github.com/users/dmnd","html_url":"https://github.com/dmnd","followers_url":"https://api.github.com/users/dmnd/followers","following_url":"https://api.github.com/users/dmnd/following{/other_user}","gists_url":"https://api.github.com/users/dmnd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmnd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmnd/subscriptions","organizations_url":"https://api.github.com/users/dmnd/orgs","repos_url":"https://api.github.com/users/dmnd/repos","events_url":"https://api.github.com/users/dmnd/events{/privacy}","received_events_url":"https://api.github.com/users/dmnd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom-community/linter/labels/confirmed%20bug","name":"confirmed bug","color":"fc2929"},{"url":"https://api.github.com/repos/atom-community/linter/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":62,"created_at":"2014-08-04T01:38:08Z","updated_at":"2015-08-31T22:40:16Z","closed_at":"2015-06-23T13:05:16Z","body":"When Atom is launched from the command line with `atom`, it has access to `$PATH` as defined by the shell so the linter can often find executables.\r\n\r\nBut if Atom is launched via the dock, Spotlight, Applications folder, or other GUI method, it does not inherit `$PATH`. This means that linters will fail to find their executables. I bet this problem is behind a lot of the bug reports that see the `spawn ENOENT` message."},"comment":{"url":"https://api.github.com/repos/atom-community/linter/issues/comments/136519644","html_url":"https://github.com/atom-community/linter/issues/150#issuecomment-136519644","issue_url":"https://api.github.com/repos/atom-community/linter/issues/150","id":136519644,"user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T22:40:16Z","updated_at":"2015-08-31T22:40:16Z","body":"@rennsport why not specify a path to the executable in linter config?"}}