Popen and reading stdout in windows

Chris Rebert clp2 at rebertia.com
Tue Jun 11 03:26:38 EDT 2013


On Jun 11, 2013 12:21 AM, "Pete Forman" <petef4+usenet at gmail.com> wrote:
>
> "Joseph L. Casale" <jcasale at activenetwerx.com> writes:
>
> >> You leave out an awful amount of detail. I have no idea what ST is,
> >> so I'll have to guess your real problem.
> >
> > Ugh, sorry guys its been one of those days, the post was rather
> > useless...
> >
> > I am using Popen to run the exe with communicate() and I have sent
> > stdout to PIPE without luck. Just not sure what is the proper way to
> > iterate over the stdout as it eventually makes its way from the
> > buffer.
>
> You could try Sarge which is a wrapper for subprocess providing command
> pipeline functionality.
>
> http://sarge.readthedocs.org/

Or Plumbum: http://plumbum.readthedocs.org

Cheers,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130611/e6f53a80/attachment.html>


More information about the Python-list mailing list