atom script doesn’t pass environment variables to the Atom GUI application. See: https://atom.io/packages/pandoc#problems-with-path
The easiest solution is to edit the
atom command and change
This is a problem if you’re writing extensions that call external commands which it expects to find on
It’s still a problem if you launch the application outside of a terminal, but that’s more of an OS X related thing.