Greetings.

[for the archive...]

On 2010 May 28, at 12:05, Norman Gray wrote:

> In a discussion on another list [1] the question arose of how, exactly, the 
> settings in ~/.MacOSX/environment.plist get into the environments of 
> processes started from the Finder.

It seems that the process is indeed pretty much as described: the loginwindow 
process reads environment.plist and causes this to be part of the environment 
which per-user launchd bequeaths to each of its children.

And no, it seems this is indeed undocumented anywhere other than, of course, 
the source.  But it doesn't really need to be.  Launchd is open source 
<http://www.opensource.apple.com/source/launchd/launchd-329.3/launchd/src/>; 
loginwindow appears not ot be.  A quick scan of launchd's source doesn't reveal 
anything startling, but by this stage my curiousity really was satisfied.

I got a couple of messages on the general topic, off-list.  Thanks to William 
Magill for some interesting observations.

Best wishes,

Norman


-- 
Norman Gray  :  http://nxg.me.uk

_______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Reply via email to