[openbeosnetteam] Re: PPP homepage

"Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx> wrote:
> > You should definitely use "sh" if you want /etc/profile to be 
> > executed, 
> > yes. But I don't know where all the other variables are taken from, 
> > and 
> > there is no documented way to get the variables of another team.
> > What variables do you need anyway?
> Nothing special. $HOME could be useful sometimes. Can I not somehow 
> put the information from /etc/profile into load_image() without 
> running "sh"? 
> But if "sh" works then that is okay, too.

/etc/profile is an sh script - how would you like to evaluate it 
without sh?
Instead of $HOME you may use find_directory().

Bye,
   Axel.


Other related posts: