Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: Timeout on STDIN

by soonix (Canon)
on Oct 24, 2016 at 11:43 UTC ( [id://1174581]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Timeout on STDIN
in thread Timeout on STDIN

Then perhaps not STDIN of your (child) script, but STDOUT of the parent script (or whatever its corresponding file handle is) may be buffered?

Replies are listed 'Best First'.
Re^6: Timeout on STDIN
by boleary (Scribe) on Oct 24, 2016 at 14:25 UTC

    I believe STDOUT from my parent always flushes (so <STDIN> always works if the parent is working)

    My problem occurs if the parent hangs, because the child process then hangs waiting for <STDIN>

    So I was hoping for a way to be able to timeout waiting for <STDIN>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-24 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found