Hello there,
A few days back I posted an article about how to setup Environment Variables in MAC OSX Lion.
Yesterday, I updated to Mountain Lion and to my surprise, they changed the way you set them.
HERE is the original article that I posted.
After doing some research about the issue, I found this article. I’ve tried to do the changes in the ‘Maya.app’ adding the dictionary to ‘Info.plist’ but I can’t seem to be able to find it through the Python Interpreter within Maya.
Here is the syntax that I’m using:
import os
path = os.environ["MY_CUSTOM_PATH"]
Also, I’m a bit confused in regards of having environment variables within the application that you want to use.
Does that mean that we can’t have variables that can be accessed from different applications?
Do you have any ideas about how I can get this working? (Let me know if any of this doesn’t make any sense).
Thanks in advance,
Dave