os.popen and lengthy operations
Dmitry Teslenko
dteslenko at gmail.com
Wed Sep 26 03:59:03 EDT 2007
Hello!
On 24/09/2007, Tommy Nordgren <tommy.nordgren at comhem.se> wrote:
> Your problem is that you are not reading the standard output and
> standard error streams in the correct way.
> You need to do the reading of standard out and standard err in
> parallell rather than sequentially.
> The called process can't proceed when it's output buffers are full.
> Pipes is limited by small buffers (for examples 512 bytes
> on Mac OS X)
Thanks to all for your comprehensive explanation!
More information about the Python-list
mailing list