Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Synchronizing STDERR and STDOUT

by OfficeLinebacker (Chaplain)
on Sep 21, 2006 at 14:27 UTC ( #574135=note: print w/ replies, xml ) Need Help??


in reply to Re: Synchronizing STDERR and STDOUT
in thread Synchronizing STDERR and STDOUT

coreolyn, sweet stuff. I don't fully understand it yet, but the "Suffering from Buffering" article is proving to be a nice read. Does your program keep the stdout and stderr output in such a way that you can reassemble it in the order it actually was generated?

Terrence

_________________________________________________________________________________

I like computer programming because it's like Legos for the mind.


Comment on Re^2: Synchronizing STDERR and STDOUT
Re^3: Synchronizing STDERR and STDOUT
by coreolyn (Parson) on Sep 21, 2006 at 15:31 UTC

    I use two separate logs for stderr and stdout. To be completely honest I haven't had a situation where I've needed to make sure they are completely in sync. So maybe I was overly smug in my assumption. You should read the comments that are included in the full node of Open3 and bad gut feeling apparently there's is a lot of extraneous ( read useless code ). I never was given an opportunity, nor did the need arise to refactor it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2015-07-07 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls