On 9/21/06, Ovid <[EMAIL PROTECTED]> wrote:
OK, I'm stuck.  I've read through IPC::Open3 and friends, I've looked through 
CPANPLUS, I've tried to solve this problem but no matter how hard I try, while 
I can fetch both STDOUT and STDERR, I cannot guarantee that they're in synch.  
That's my big problem and

So I'm going to head over to Perlmonks and ask there.  It seems like, unless 
the source of the data ensures that everything is going to the same filehandle, 
I can't reliably solve this problem.  Lots of folks have offered suggestions 
and for that I am very grateful, but what about the 'must be in synch' problem? 
 That's the one I'm struggling with.

There is no problem if you do the backtick method I mentioned.

my $in_sync=`someprocess 2>&1`;

and it should be in sync. I seem to recall it has to be, but i cant
find the source of that claim. But i know that ive never seen any
synchronization problems with this approach.

So I guess it comes down to whats more important: A test counter being
shown or handling STDOUT/STDERR in a synchronized fashion?

cheers,
Yves


--
perl -Mre=debug -e "/just|another|perl|hacker/"

Reply via email to