it is obvious that, in the general case, managing multiple streams on
multiple filehandles using existing technologies is a *hard* problem.
it does, however (and thanks for the hint barrie) seem possible to
solve the problem for special cases--those you can control.
On 9/22/06, Barrie Slaymaker <
I concur, disentangling untagged, combined STDERR and STDOUT streams is
very difficult: the source process' output buffering will cause
desynchronization between the two streams and the OS's timeslices my be
long enough that you get a lot of output between polls in the parent
process.
Further
From: jerry gay <[EMAIL PROTECTED]>
> do you have a test that clearly shows the failure? if so, i can try to
> code up an IPC::Run solution. it shouldn't take me very long to
> determine if it's feasible.
I do have one at home. I'm at work right now, but I'll send it along when I
can.
The majo
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
- Original Message
From: demerphq <[EMAIL PROTECTED]>
> Well then forget about synchronized two-channel communications. You
> can't have everything in this world. :-)
Which is why ultimately this needs to be one-channel communication :)
Cheers,
Ovid
--
Buy the book -- http://www.oreil
On 9/21/06, Ovid <[EMAIL PROTECTED]> wrote:
- Original Message
From: demerphq <[EMAIL PROTECTED]>
> 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 sourc
- Original Message
From: demerphq <[EMAIL PROTECTED]>
> 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 see
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
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 Per