Re: [Pythonmac-SIG] Build Applet Environ problem...

2007-06-25 Thread Nicholas Riley
On Mon, Jun 25, 2007 at 01:25:20PM -0400, Jerry LeVan wrote:
> Hi,
> 
> This weekend I got a MBP and started to transition to the Intel from  
> PPC.
> 
> I use the "Build Applet" tool to make lightweight apps that I can  
> launch from
> the Dock.
> 
> Some of my apps use environmental variables to simplify the  
> environment setup.
> 
> On the PPC G4 the applets would pick up the environmental variables  
> when launched
> from the dock. On the Intel side this does not appear to be the case.
> 
> If I launch the app from the command line "open -a" the environment  
> vars will
> be picked up.
> 
> Is this problem somehow my fault or is this a PythonMac/Intel problem?

Stuff you launch from the dock shouldn't read your shell rc files.
You'll need to use ~/.MacOSX/environment.plist instead.

-- 
Nicholas Riley <[EMAIL PROTECTED]> | 
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] Build Applet Environ problem...

2007-06-25 Thread Jerry LeVan
Hi,

This weekend I got a MBP and started to transition to the Intel from  
PPC.

I use the "Build Applet" tool to make lightweight apps that I can  
launch from
the Dock.

Some of my apps use environmental variables to simplify the  
environment setup.

On the PPC G4 the applets would pick up the environmental variables  
when launched
from the dock. On the Intel side this does not appear to be the case.

If I launch the app from the command line "open -a" the environment  
vars will
be picked up.

Is this problem somehow my fault or is this a PythonMac/Intel problem?

Jerry

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig