On Wed, Jul 26, 2006 at 11:50:52AM +0000, Angus Leeming wrote:

> Enrico Forestieri <[EMAIL PROTECTED]> writes:
> > I am using Win2k sp4. I am surprised that this makes a difference.
> > However, I notice that if I use forward slashes in the path to lyx.exe,
> > it indeed starts hidden and I have to kill it from Task Manager...
> > Windows really drives me mad...
> 
> I suspect that there is a problem with the little wrapper program. If memory 
> serves me right, most of the code was a command line parser that uses '/' to 
> indicate an option is coming.

Yes, that's true, but it stops looking for options whenever a new word
doesn't start with '/'. So, if you specify a full path (comprising a drive
letter) or quote the path (in case it starts with a '/'), everything is fine.

> Why not hack the parser to use '-' --- if you need the options at all, which I
> suspect you don't...

Maybe...

> Further, if you're correct and /foo/bar causes problems, then why not 
> transform such paths to \foo\bar form before spawning lyx.exe?

This is what happens on win2k. According to Bo, lyx.exe is hidden on winxp
when use either '/' or '\' as a path delimiter.

-- 
Enrico

Reply via email to