Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> Harishankar <[EMAIL PROTECTED]> wrote:
>>  1. Create non-blocking pipes which can be read in a separate thread
>>  [...]
>
> You are correct on both of those points.

I must be missing something.  What's wrong with spawning the subprocess
with subprocess.Popen as usual, passing subprocess.PIPE as stdin/stdout/
whatever, making your end nonblocking with fcntl.fcntl and then using
os.read/os.write in the obvious ways?

-- [mdw]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to