Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: capturing stdout in real time

by Illuminatus (Curate)
on Aug 20, 2012 at 22:40 UTC ( #988528=note: print w/replies, xml ) Need Help??

in reply to capturing stdout in real time

stdout is normally buffered. Unless you can change the "other programs", or they have a runtime option to change the buffering, you don't have much choice. About the only thing you could do (and this would be messy), would be to get the program to write to a pty -- then it would be line-buffered, which would probably give you the data more quickly


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-10-27 05:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (353 votes). Check out past polls.