Lars Gullik Bjønnes wrote:
>>> Rather than hard-code these weird and wonderful additions to PATH, why
>>> don't we define a new LyXRC variable "path_prefix" which will be
>>> prepended to the existing PATH variable when LyX is initialised.
>>
> | Why not require that people set PATH correctly? I fail to see why
> | setting a lyxrc variable is better than setting an environment
> | variable. In both cases something needs to be adjusted, and in both
> | cases it must be documented.
> 
> There is also the option of not altering the PATH at all and just call
> teh binary with a full path.

Sure, but that won't help me find sh.exe if LyX is installed at
C:\Program Files\LyX\bin and sh.exe is in J:\MinSys\bin

I do think that a LyXRC variable is the best solution here.

-- 
Angus

Reply via email to