> As others have mentioned, separate threads for the individual pipes
> may help, or if you need to go that far there are specialised
> libraries, I believe (pexpect is one, but from what I know it's fairly
> Unix-specific, so I'm not very familiar with it).

I'm on Linux so pexpect is a possibility.

> Sorry, but there's no "simple" answer here for you (although you may
> well be able to get something that works well enough for your specific
> needs - but it's not obvious from your snippet of code what you're
> trying to achieve).

To send and receive text from a subprocess..even when there are exceptions.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to