Tom Plunket <[EMAIL PROTECTED]> wrote:
>  I'm using subprocess to launch, well, sub-processes, but now I'm
>  stumbling due to blocking I/O.
> 
>  Is there a way for me to know that there's data on a pipe, and possibly
>  how much data is there so I can get it?

You might want to check out this modification to subprocess which does
non-blocking pipes.

  http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440554

I personally think something like that should be built into subprocess

-- 
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to