On Sat, Dec 19, 2009 at 09:33:15PM -0500, Ben M. wrote:

> On Sat, Dec 19, 2009 at 9:14 PM, Enrico Forestieri wrote:
> > On Sat, Dec 19, 2009 at 07:04:09PM -0500, Ben M. wrote:
> >> Yes, there must be a better way.  For instance, I noticed that an
> >> executed command inherits its environment from LyX, e.g. "PATH
> >> prefix."  Why not create environment variables for all the relevant
> >> paths?
> >
> > This is a possibility. The script could be modified such that to put
> > ahead the paths if the relevant evironment variables exist. Thus, you
> > simply have to set those variables before launching lyx.
> 
> I have yet to find the code which inserts "PATH prefix" into PATH.  My
> hope is to modify during (not before) runtime the environments of
> child processes launched by LyX.  Is this possible?

Yes, grep for prependEnvPath.

-- 
Enrico

Reply via email to