in reply to Re: How to detect I/O redirection on Win32
in thread How to detect I/O redirection on Win32

Nope
>perl -le"print fileno(STDOUT); print fileno(STDERR);" 2>&1 1 2