FAQ

Eric Promislow wrote:
Your usage of wait() is dangerous. The code can block indefinitely when
the stdout or stderr buffer is full.

Christian
That's what it is. `rake -T` returns more data in Rails 2.0.1
than it did in 1.2.6 -- cross-language breakage logically explained.
Thank you, Christian.
You can use stdout, stderr = p.communicate() but keep in mind that the
data is buffered in memory. I suggest a temporary file if you expect
more than a couple of MB.

Christian

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 4 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedDec 13, '07 at 1:34a
activeDec 13, '07 at 2:26a
posts4
users2
websitepython.org

People

Translate

site design / logo © 2022 Grokbase