On Tue, May 28, 2002 at 11:47:45PM +0100, Conrad Scott wrote: >"Christopher Faylor" <[EMAIL PROTECTED]> wrote: >> On Tue, May 28, 2002 at 11:00:28PM +0100, Conrad Scott wrote: >> >I've just picked up the latest changes from CVS and I'm having a problem >> >with run.exe from a .BAT file (i.e., from my current cygwin.bat >mechanism). >> >> What's run.exe? >> >> cgf > >Sorry: it's /usr/X11R6/bin/run.exe, which was recommended by some as the >best way to launch rxvt from the cygwin.bat file. AFAIK it's meant to avoid >having the (irritating) command window pop-up before the rxvt window >appears. However, it fails to achieve that and I'd never (until just now) >taken it out of my cygwin.bat file.
I think you're running run.exe from Chuck Wilson's site. I managed to duplicate this behavior. Apparently it happens because valid looking handles exist for stdin/stdout/stderr even when a program is linked with -mwindows. My new code attempted to do something with the handles and NT did something nonsensical. I've worked around the behavior. It's checked in and in the next snapshot. cgf
