popen2 bug?
Markus Schaber
markus at schabi.de
Tue Sep 18 16:24:36 EDT 2001
Hi,
Donn Cave <donn at u.washington.edu> schrub:
> You'll have to break the I/O up into smaller pieces, use the UNIX file
> descriptors (as in b.fileno()) and posix.write/read and select to know
> when you can read and when you can write, and even then I wouldn't be
> to positive you won't occasionally get into trouble. When you have it
> working, do get some wall clock times to see if it's actually faster.
It also may be possible to use threads, one thread writes, and the
other reads.
markus
--
"The strength of the Constitution lies entirely in the determination of
each citizen to defend it. Only if every single citizen feels duty
bound to do his share in this defense are the constitutional rights
secure." -- Albert Einstein
More information about the Python-list
mailing list