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


Groups > comp.lang.python > #47626

RE: Popen and reading stdout in windows

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jcasale@activenetwerx.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.069
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'iterate': 0.09; 'buffer.': 0.16; 'exe': 0.16; 'received:172.18.0': 0.16; 'stdout': 0.16; 'subject:windows': 0.16; 'to:name:python-list@python.org': 0.22; 'days,': 0.24; 'guys': 0.24; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'idea': 0.28; 'leave': 0.29; 'pipe': 0.31; 'thanks!': 0.32; 'run': 0.32; 'guess': 0.33; 'problem.': 0.35; 'charset:us-ascii': 0.36; "i'll": 0.36; 'to:addr:python-list': 0.38; 'rather': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'eventually': 0.60; 'received:unknown': 0.61; 'real': 0.63; 'detail.': 0.68; 'useless...': 0.84
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=6HkG4LK5i0ZTEQwzSfMqnsQ8WbrxJ2NwB1mI+RNtyjI= c=1 sm=1 a=CRTDazI5n6YA:10 a=cGX98fsR2PQA:10 a=7PYXob_7ZXMA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=S9Aq2mUxX_uejBqD7-cA:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
From "Joseph L. Casale" <jcasale@activenetwerx.com>
To Dave Angel <davea@davea.name>, "python-list@python.org" <python-list@python.org>
Subject RE: Popen and reading stdout in windows
Thread-Topic Popen and reading stdout in windows
Thread-Index AQHOZgmJhYRpjOYhMUGEiSf6dwyK95kvvuIA///7FxY=
Date Tue, 11 Jun 2013 01:50:07 +0000
References <51B62D10.3030907@davea.name>
In-Reply-To <51B62D10.3030907@davea.name>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [172.18.0.200]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3005.1370915497.3114.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1370915497 news.xs4all.nl 15868 [2001:888:2000:d::a6]:49028
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:47626

Show key headers only | View raw


> 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.

Thanks!
jlc

Back to comp.lang.python | Previous | NextNext 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