on windows

Maksim Kasimov maksim.kasimov at
Wed Oct 26 10:29:17 CEST 2005

you have to use non-block readining.
A time-out value of zero specifies a poll and never blocks.

jas wrote:
> I am currently using subprocess to execute a command.  Then I read from
> it's stdout...however, this is hanging on a read..waiting for more
> bytes.  So what I would like is to timeout...and select.selec() seems
> to be what I need.  Except I don't have a socket, i have stdout.
> Any suggestions on how to do a timeout like with stdout?
> Thanks

Best regards,
Maksim Kasimov
mailto: maksim.kasimov at

More information about the Python-list mailing list