fcntl/ioctl and O_NONBLOCK

Ralf Hildebrandt hildeb at www.stahl.bau.tu-bs.de
Sun Nov 28 10:46:10 EST 1999

On 28 Nov 1999 00:17:26 GMT, Cove Schneider <cove at shell10.ba.best.com> wrote:

>> This is also fixed now, but now the popen3 Object generates about 1 MB
>> of output (which I read using select() and read()), and then it STILL
>> doesn't return. No crash, no exit. And once more, in top it says
>> "sleep" once more. 
>> Any ideas what's going on there?
>Humm.. Sounds like your not checking for an EOF..

Good idea. When I read the input file (which I then tochild.write()),
I get only 1000 bytes - althought the file is much longer. Question:
Is it possible to read OVER an EOF? How? 

More information about the Python-list mailing list