On Wed, Jul 26, 2006 at 10:29:28AM -0500, Bo Peng wrote:

> > Agreed. I think the wrapper should be named lyx.exe and should internally
> > call the real lyx named lyxc.exe. The wrapper should examine the command
> > line for options of the form /VAR=val in order to set environment variables
> > as appropriate and should pass everything else onto lyxc.exe.
> 
> I agree with something like
> 
> lyx.exe /var=val /var1=val1 file1.lyx file2.lyx
> 
> and inernally
> 
> set environment var=val var1=val1
> cmd /c lyxc.exe file1.lyx file2.lyx
> 
> It is kind of troublesome to change autotools/scons for lyxc. I think
> we can simply implement all these in hidecmd.c and let the installer
> arrange the names.

We could arrange things such that the program looks at its name and if
it isn't called lyx.exe it behaves exactly as it does now, otherwise,
after parsing the env vars, it prefixes the remaining parameters on the
command line with "cmd /c lyxc.exe".

Do you want me to make the change?

-- 
Enrico

Reply via email to