{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/watchman/issues/68","labels_url":"https://api.github.com/repos/facebook/watchman/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/facebook/watchman/issues/68/comments","events_url":"https://api.github.com/repos/facebook/watchman/issues/68/events","html_url":"https://github.com/facebook/watchman/issues/68","id":50514601,"number":68,"title":"$PATH is very hard to set on MacOS Yosemite","user":{"login":"dmcg","id":59501,"avatar_url":"https://avatars.githubusercontent.com/u/59501?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcg","html_url":"https://github.com/dmcg","followers_url":"https://api.github.com/users/dmcg/followers","following_url":"https://api.github.com/users/dmcg/following{/other_user}","gists_url":"https://api.github.com/users/dmcg/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcg/subscriptions","organizations_url":"https://api.github.com/users/dmcg/orgs","repos_url":"https://api.github.com/users/dmcg/repos","events_url":"https://api.github.com/users/dmcg/events{/privacy}","received_events_url":"https://api.github.com/users/dmcg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-01T11:39:27Z","updated_at":"2015-03-31T21:45:59Z","closed_at":null,"body":"Commands that I invoke through Watchman on Yosemite have a PATH set to /usr/bin:/bin:/usr/sbin:/sbin\r\n\r\nNeedless to say, very little of my toolchain is in that path.\r\n\r\nI think that it has to do with launchd defaulting to a very restricted path http://apple.stackexchange.com/questions/106355/\r\n\r\nThe only solution I've come up with is to source ~/.bash_profile in scripts invoked from Watchman, but this means that if I invoke them normally they have an enormous path set.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/watchman/issues/comments/88260286","html_url":"https://github.com/facebook/watchman/issues/68#issuecomment-88260286","issue_url":"https://api.github.com/repos/facebook/watchman/issues/68","id":88260286,"user":{"login":"wez","id":117777,"avatar_url":"https://avatars.githubusercontent.com/u/117777?v=3","gravatar_id":"","url":"https://api.github.com/users/wez","html_url":"https://github.com/wez","followers_url":"https://api.github.com/users/wez/followers","following_url":"https://api.github.com/users/wez/following{/other_user}","gists_url":"https://api.github.com/users/wez/gists{/gist_id}","starred_url":"https://api.github.com/users/wez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wez/subscriptions","organizations_url":"https://api.github.com/users/wez/orgs","repos_url":"https://api.github.com/users/wez/repos","events_url":"https://api.github.com/users/wez/events{/privacy}","received_events_url":"https://api.github.com/users/wez/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T21:45:59Z","updated_at":"2015-03-31T21:45:59Z","body":"We have a diff that we'll land real soon now: https://reviews.facebook.net/D36045"}}