popen2 bug?

Roman Suzi rnd at onego.ru
Tue Sep 18 14:35:03 EDT 2001


On 18 Sep 2001, Donn Cave wrote:
>Quoth Roman Suzi <rnd at onego.ru>:

>Grep has to write what it finds to stdout, before it can read more stdin.
>You want to write everything to stdin, before reading anything from stdout.
>When stdout fills up, grep stops, stdin fills up and you stop.  That's my
>theory.  This behavior is not what you want, but it's what you can expect.

OK, this is too much trouble to me. I will use tempfiles instead.
Thanks!

Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Tuesday, September 18, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Heavy, adj.: Seduced by the chocolate side of The Force." _/





More information about the Python-list mailing list