Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47648

Re: Popen and reading stdout in windows

References <fc7fe12873ac476280f4d02714470fb5@exch.activenetwerx.com> <51B62D10.3030907@davea.name> <mailman.3005.1370915497.3114.python-list@python.org> <867gi12jzw.fsf@gmail.com>
Date 2013-06-11 00:26 -0700
Subject Re: Popen and reading stdout in windows
From Chris Rebert <clp2@rebertia.com>
Newsgroups comp.lang.python
Message-ID <mailman.3012.1370935608.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Jun 11, 2013 12:21 AM, "Pete Forman" <petef4+usenet@gmail.com> wrote:
>
> "Joseph L. Casale" <jcasale@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

RE: Popen and reading stdout in windows "Joseph L. Casale" <jcasale@activenetwerx.com> - 2013-06-11 01:50 +0000
  Re: Popen and reading stdout in windows Pete Forman <petef4+usenet@gmail.com> - 2013-06-11 08:18 +0100
    Re: Popen and reading stdout in windows Chris Rebert <clp2@rebertia.com> - 2013-06-11 00:26 -0700
  RE: Popen and reading stdout in windows Nobody <nobody@nowhere.com> - 2013-06-11 10:54 +0100

csiph-web