Package works when I use command line but does not when I click icon in os x


#1

My package works when I open Atom using the command line but does not when I click icon in os x.

What would cause this behavior?

How could I print out / log the differences in the 2 circumstances?


#2

When starting from the Dock on OS X you get the system default environment variables but when starting from within a command line environment you inherit the environment in the shell. See:

If you’re using the Yosemite preview, there is also a known issue:

the bug for which is here:


#3

I will look into this, thank you so much!!!


#5

FYI: I am using Mavericks.