Re: is LSEnvironment working with Leopard?
Re: is LSEnvironment working with Leopard?
- Subject: Re: is LSEnvironment working with Leopard?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 26 Aug 2008 11:38:59 +0200
It' works on Leopard, but only as the documentation states:
“These environment variables are set only for applications launched
through Launch Services. If you run your executable directly from the
command line, these environment variables are not set.”
And unfortunately, Xcode does not uses Launch Services to launch
applications. Try to launch your application from the Finder.
Le 26 août 08 à 10:47, Half Activist a écrit :
Hello everyone,
The subject sums it up: Is the LSEnvironment plist key still
supported in Leopard?
I've been trying to set an environment variable this way with no
luck.
I've read about the /var/db/.AllowDYLDEnvironmentVariables trick,
and thought it might enable LSEnvironment, but didn't work either.
I know about ~/.MacOSX/environment.plist but didn't want to add a
"global" environment variable.
Does anybody know if there are other possibilities?
Regards.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden