Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to detect I/O redirection on Win32

by Roy Johnson (Monsignor)
on Sep 10, 2007 at 16:21 UTC ( [id://638110]=note: print w/replies, xml ) Need Help??


in reply to How to detect I/O redirection on Win32

fileno Update: it's what the documentation seemed to be saying, but isn't.

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^2: How to detect I/O redirection on Win32
by ikegami (Patriarch) on Sep 10, 2007 at 16:32 UTC
    Nope
    >perl -le"print fileno(STDOUT); print fileno(STDERR);" 2>&1 1 2

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://638110]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found