Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How can I redirect STDOUT and STDERR from a program on WIN32?

by dannoura (Pilgrim)
on Apr 30, 2004 at 17:06 UTC ( [id://349454]=note: print w/replies, xml ) Need Help??


in reply to How can I redirect STDOUT and STDERR from a program on WIN32?

Simplest is from the command window. For STDOUT:

myscript.pl>myfile.txt

For STDERR

myscript.pl 2>myfile.txt

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2024-04-18 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found