|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On 26.11.2006, at 00:36, Philip Aker wrote:
On 2006-11-25, at 11:33:46, Dieter Oberkofler wrote:
I'm trying (very hard) to set some environment variables in an Carbon application bundle using the LSEnvironment key but the environment of the application does not seem to change at all. I checked the Apple documentation and it seems as if this should work. Any help is appreciated.
Here's an app where you can change the value for the key in the Info.plist to verify that the mechanism works. If you want to use the 'open' command from Terminal then it seems you have to use the extension: "open LSEnv.app". Normally though, it's meant to work by double clicking its icon in the Finder.
I don't know if these are officially supported but another way is:
extern char **environ; extern char **NXArgv; extern int NXArgc;
Philip Aker email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.