X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10203042128.AA15941@clio.rice.edu> Subject: Re: New Win2K/XP bug report To: eliz AT is DOT elta DOT co DOT il Date: Mon, 4 Mar 2002 15:28:20 -0600 (CST) Cc: djgpp-workers AT delorie DOT com In-Reply-To: <7263-Mon04Mar2002212812+0200-eliz@is.elta.co.il> from "Eli Zaretskii" at Mar 04, 2002 09:28:13 PM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > > Date: Mon, 4 Mar 2002 11:29:47 -0600 (CST) > > > > for example, cmd /c dir | strings > > shows absolutely nothing under bash (cmd is also a win32 image). > > What happens if you use command.com instead of cmd.exe? command.com /c dir | strings works under bash (a tiny improvement, but it's not Win32/PE ...) (command.com /c finger @bajor | strings) once again generates no output (pipe output gets lost) > > Since cmd.exe is also a win32 executable, sending its output to a djgpp > > image also doesn't seem to work. > > I'm curious: does `redir' also fail to redirect stdout/stderr or > cmd.exe on W2K? I think someone complained about strange problems > with redirection a long time ago, including that stdout and stderr > couldn't be separated or something. I believe that report was incorrect, I haven't seen any problems. I quite often use the built in cmd redirect (ie 2> ) to even send stderr to a separate place. Redir seems to work fine. For example: redir -o x.x cmd /c dir puts a directory listing in x.x