Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Question about IPC::Open2

by GaijinPunch (Pilgrim)
on Nov 14, 2006 at 03:03 UTC ( #583893=note: print w/replies, xml ) Need Help??

in reply to Re: Question about IPC::Open2
in thread Question about IPC::Open2

No... there's no way to know if it's the end or not... other than leave ample time for it to output.

Replies are listed 'Best First'.
Re^3: Question about IPC::Open2
by BUU (Prior) on Nov 14, 2006 at 03:17 UTC
    So uh, basically you want to open a filehandle and read data from it.. and keep reading.. and keep reading.. and you have no way to tell when to stop? Seems rather unsolvable to me.
      Not really. Read for X amount of seconds, then quit reading. My sleep doesn't seem to be doing that. I will try some of the solutions below and see what happens.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://583893]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2018-05-27 16:58 GMT
Find Nodes?
    Voting Booth?