Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is LSEnvironment working with Leopard?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >is LSEnvironment working with Leopard? (From: Half Activist <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.