Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: process redirection

by anonymized user 468275 (Curate)
on Jul 25, 2005 at 13:28 UTC ( [id://477807]=note: print w/replies, xml ) Need Help??


in reply to Re: process redirection
in thread process redirection

...putting that into code and showing how to redirect the other output as well:-
system( "cd $mydir; $command > cmd.log 2>\&1" );

One world, one people

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-26 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found