• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[NSProcessInfo processInfo] environment] only can see my session's env variables via the debugger.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Re: [NSProcessInfo processInfo] environment] only can see my session's env variables via the debugger.
      • From: Chris Parker <email@hidden>
  • Prev by Date: Re: NSSpellServer problem (``Couldn\\\'t contact Spell Server\\\'\\\')
  • Next by Date: Re: [NSProcessInfo processInfo] environment] only can see my session's env variables via the debugger.
  • Previous by thread: Re: NSSpellServer problem (``Couldn\\\'t contact Spell Server\\\'\\\')
  • Next by thread: Re: [NSProcessInfo processInfo] environment] only can see my session's env variables via the debugger.
  • Index(es):
    • Date
    • Thread