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

Re^2: open3 buffering in linux vs. os x

by Lexicon (Chaplain)
on Jan 09, 2009 at 01:13 UTC ( #735049=note: print w/ replies, xml ) Need Help??


in reply to Re: open3 buffering in linux vs. os x
in thread open3 buffering in linux vs. os x

Heh, I was actually playing with the comment, status, and some other commands to see if they would flush the buffer automagically, but they didn't work. However, I didn't go so far as to try to overflow the buffer, but now that you mention it that might be an easy trick to pull off.

Comes back 30 seconds later...

The buffer is 4KB. Problem solved!

Interesingly, only works if I unbuffer the output using fctrl.


Comment on Re^2: open3 buffering in linux vs. os x
Re^3: open3 buffering in linux vs. os x
by BrowserUk (Pope) on Jan 09, 2009 at 01:33 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-11-25 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (160 votes), past polls