ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Stupid Windows question
Date Tue, 02 Jan 2001 18:08:58 GMT

According to the Windows NT help, the > redirection symbol only redirects
stdout, not stderr.  At least, thats the implication.  What they actually
say is "Some command output, such as error messages, may not be redirected
when using the greater-than sign (>)."

I'm not sure about other flavours of windows, but this seems consistent
with what I've seen in the past.  I have no clue if this has changed for

Glenn McAllister
Software Developer. IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey

Please respond to

Subject:  RE: Stupid Windows question

At 11:37 AM -0600 1/2/01, Bill Lynch wrote:
>  > P.S. How can you redirect the stderr output from a command to a file?
>[command] > file.txt
>dir > file.txt
>ipconfig > file.txt

But this only redirect stdout.  stderr still goes to the shell.

James Bucanek

View raw message