Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Confusing system call

by nardo (Friar)
on May 10, 2001 at 00:55 UTC ( [id://79251]=note: print w/replies, xml ) Need Help??


in reply to Confusing system call

>& redirects both stdout and stderr on some shells. time prints its output to stderr (this is useful because it allows you to redirect the program's stdout and just see the time info, but that's besides the point). You could try:
system("time $RUNHOME/$jobfile > $RUNHOME/gcp_${FilName}_${total}.gs.out 2>&1 &") which should redirect both stdout and stderr to the $RUNHOME/gcp_${FilName}_${total}.gs.out file.

Update Wow, must be smoking too much crack, I suggested the exact same thing that tye did and didn't even realize it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-25 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found