delorie.com/archives/browse.cgi | search |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Multiplie Redirections in dos. |
Date: | Thu, 04 Jul 2002 16:39:09 CDT |
Organization: | Rice University, Houston TX |
Lines: | 24 |
Message-ID: | <3d24c07d.sandmann@clio.rice.edu> |
References: | <BC9127369D17D511B3FB00D0B79134770A8BFC30 AT snlams200 DOT netherlands DOT ncr DOT com> |
NNTP-Posting-Host: | clio.rice.edu |
X-Trace: | joe.rice.edu 1025818946 16906 128.42.105.3 (4 Jul 2002 21:42:26 GMT) |
X-Complaints-To: | abuse AT rice DOT edu |
NNTP-Posting-Date: | 4 Jul 2002 21:42:26 GMT |
X-NewsEditor: | ED-1.5.9 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> The problem is when you redirect from stdin to stdout several times. > I've been able to narrow it down to this: > prog.exe < somefile.txt | prog.exe > This works. (echo the text) > prog.exe < somefile.txt | prog.exe | prog.exe > This works on Win 2k, but hangs on Windows XP > prog.exe < somefile.txt | prog.exe | prog.exe | prog.exe > This works on Win 2k, but hangs on Windows XP > prog.exe < somefile.txt | prog.exe | prog.exe | prog.exe | prog.exe > Hangs on both win 2k and xp. > For some reason it might work the first the I run the program (the > commandlines), but it will fail the second time. This bug has been reported before; specific to the Win2K and XP family. So far we haven't found any workaround. It seems to be related to I/O on the pipe, the only way I've found to clear up the mess is to kill ntvdm.exe to get it working again.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |