Re: moving egg_screen_* into libgnomeui



Hey,

On 19 Sep 2002, Havoc Pennington wrote:
>
> Mark McLoughlin <mark skynet ie> 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.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]