|
From: | Lennart Borgman |
Subject: | Re: More diagnostics for the W32 build |
Date: | Mon, 06 Jun 2005 16:55:34 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
David Abrahams wrote:
Redirecting stderr works on COMMAND.COM as far as I recall.No, it doesn't. "foo 2>bar" is interpreted as `foo' called with an argument `2' and its stdout redirected to `bar'. If you do that with GCC, it complains about a non-existing file `2'.Definitely doesn't work,I'm not sure about 2>&1 though.That's strange; I use it all the time on Windows XP. Seems to work just fine (?)
Are you sure you mean command.com, not cmd.exe?
[Prev in Thread] | Current Thread | [Next in Thread] |