[NSProcessInfo processInfo] environment] only can see my session's env variables via the debugger.
[NSProcessInfo processInfo] environment] only can see my session's env variables via the debugger.
- Subject: [NSProcessInfo processInfo] environment] only can see my session's env variables via the debugger.
- From: "Frederick C. Lee" <email@hidden>
- Date: Fri, 12 May 2006 10:13:20 -0700
Greetings:
I would like to view all my environment values that I have set in
my .tcshrc or .bashrc, etc. signon files.
I currently use the tcsh.
The following is what I used:
myEnvironment = [[[NSProcessInfo processInfo] environment] retain];
But 'environment' only contains a few items, probably globally set
in /etc area.
I can ONLY view all the environment variables when I'm in the debugger.
So my question is, how can I collect all the environment variables
that I had set within my shell's signon file(s)?
Ric.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden