I want to call a script with NSTask and I want to set an environment variable.

But it seems like bad form to blow away the current environment. So I guess I 
need to read the current environment and extend it before passing it to NSTask.

Is there any Cocoa API which returns the environment as a NSDictionary, or do I 
need to drop down to the UNIX getenv() level?





      Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now 
http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to