Re: moving egg_screen_* into libgnomeui
Mark McLoughlin <[email protected]> Thu, 19 Sep 2002 06:24:28 +0100 (IST)
| Newsgroups | gmane.comp.gnome.lib.devel |
|---|---|
| Message-ID | <Pine.LNX.4.44.0209190621570.15946-100000@skynet> |
Hey, On 19 Sep 2002, Havoc Pennington wrote: > > Mark McLoughlin <[email protected]> writes: > > > > Do the with_env functions replace or supplement the environment? If > > > they replace it's probably broken to do that, if they supplement the > > > function names are misleading as you would expect execve() behavior. > > > > Interestingly gspawn allows both behaviours - with the execve > > behaviour taking precendence over the ChildSetupFunc. Why is it broken > > to use execve in this case ? > > You probably want to keep env variables such as SESSION_MANAGER, > e.g. you'd want the help browser to pick that up, right? Sure, but all you're doing is making a copy of the parents environ and changing (or adding) the $DISPLAY. Thats what exec_environment() gives you ... Good Luck, Mark.