Re: Issue 70 in glassdb: FileDirectory class>>#'default' does not work for Mac/Windows clients

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Issue 70 in glassdb: FileDirectory class>>#'default' does not work for Mac/Windows clients

glassdb
Updates:
        Status: Invalid

Comment #1 on issue 70 by [hidden email]: FileDirectory  
class>>#'default' does not work for Mac/Windows clients
http://code.google.com/p/glassdb/issues/detail?id=70

Turns out that this is "expected behavior" for GUI apps on mac ...  
the .bashrc (obviously) is not run when launching apps via means other than  
the unix command line.

There are however several options for setting environment variables so that  
they are visible to GUI apps (like Squeak/Pharo/GemTools) outlined in a  
stack overflow article[1].

I tried running:

   launchctl setenv PWD /Users/dhenrich

and restarted my GemTools image ... at that point the PWD env var was  
accessible....It should be noted that launchctl settings do not survive  
reboots.

[1]  
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x