Try:
./whatever_you_are_doing 2>&1 | tee > file.txt
(In deference to cfg) this is a work-around which seems to be both
undesireable and workable. It might not be right but it's never wrong.
art
Sent by: [EMAIL PROTECTED]
To: CygWin <[EMAIL PROTECTED]>
cc:
Subject: make error: cannot exec gcc (after many compiles) : Win95 :
Cygwin of 9/19/2001
<snip>
The out.txt file has been edited to include the error message.
It didn't appear in a simply redirected output file. Strangely
it didn't appear in a redirected stderr file either:
make > out.txt 2>err.txt
err.txt ends up blank, and out.txt doesn't include the error
message, but it appears on the screen if I don't do a redirection.
<snip>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/