Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29478
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <andrea.crotti.0@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'problem?': 0.07; 'run,': 0.07; 'blocked': 0.09; 'observation': 0.09; 'cc:addr:python-list': 0.10; 'anyway': 0.11; 'subject:not': 0.11; 'thread': 0.11; 'proc': 0.16; 'cc:2**0': 0.23; 'this:': 0.23; 'cc:no real name:2**0': 0.24; 'command': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'probably': 0.29; 'running': 0.32; 'received:google.com': 0.34; 'massive': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'nothing': 0.38; 'takes': 0.39; 'header:Received:5': 0.40; 'running,': 0.84; 'dennis': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0ACCyERRxue03cyDuu0UiekizGhBFKOtDRqaPJ9Bef8=; b=IO0O+05eJVqDJ8IC7syYcGbylLDMB/kk+KsGmbDcEnIztViCTDXY0s+nXlF1iLD0uR QD77prjmYRLjGSE0f0X76N7XtVWtpxUqsFLcYDCzVldpN0Zj+xUyEfnFROqekevei3Ts tBD9xF4aA4dC+1D3mlWroUVWhHzQX2JIkiQdS6YqolOw7CO7UxJsfvPwRP62ojB+t3TA kHn4awqvsV5h/xzACf5o7MvyBZqozg8G3JADWLZQ2gWF0oQnxH3yLoGyRDLwTgyO4yWj vK9jLlptQZKUD58K7ipcolVX5LQWR0HKPYPwL95EQcRIz/2qc1Ig/fD6+4qAXYrlpKez io5A== |
| MIME-Version | 1.0 |
| In-Reply-To | <28ih585cvob222k24v7ccfapgvav7nfgur@invalid.netcom.com> |
| References | <d49e1e71-afe2-4aab-8c67-3e2eea6533a6@googlegroups.com> <0b598d7f-7137-47cc-8eed-80ab450536c5@googlegroups.com> <mailman.734.1347681745.27098.python-list@python.org> <0405db16-6a4c-4189-a32c-2311d45eead3@googlegroups.com> <CAF_E5JabYOargjeDa9BdMZnUq3SmbXCO4Uue6NnSESUfHJspvA@mail.gmail.com> <28ih585cvob222k24v7ccfapgvav7nfgur@invalid.netcom.com> |
| Date | Wed, 19 Sep 2012 11:26:30 +0100 |
| Subject | Re: subprocess call is not waiting. |
| From | andrea crotti <andrea.crotti.0@gmail.com> |
| To | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | python-list@python.org |
| 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.906.1348050393.27098.python-list@python.org> (permalink) |
| Lines | 20 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1348050393 news.xs4all.nl 6857 [2001:888:2000:d::a6]:59009 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:29478 |
Show key headers only | View raw
2012/9/18 Dennis Lee Bieber <wlfraed@ix.netcom.com>: > > Unless you have a really massive result set from that "ls", that > command probably ran so fast that it is blocked waiting for someone to > read the PIPE. I tried also with "ls -lR /" and that definitively takes a while to run, when I do this: proc = subprocess.Popen(['ls', '-lR', '/'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) nothing is running, only when I actually do proc.communicate() I see the process running in top.. Is it still an observation problem? Anyway I also need to know when the process is over while waiting, so probably a thread is the only way..
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
subprocess call is not waiting. paulstaten@gmail.com - 2012-09-13 08:17 -0700
Re: subprocess call is not waiting. MRAB <python@mrabarnett.plus.com> - 2012-09-13 16:35 +0100
Re: subprocess call is not waiting. woooee@gmail.com - 2012-09-13 10:24 -0700
Re: subprocess call is not waiting. Hans Mulder <hansmu@xs4all.nl> - 2012-09-14 10:52 +0200
Re: subprocess call is not waiting. Chris Rebert <clp2@rebertia.com> - 2012-09-13 22:27 -0700
Re: subprocess call is not waiting. paulstaten@gmail.com - 2012-09-14 05:22 -0700
Re: subprocess call is not waiting. Wanderer <wanderer@dialup4less.com> - 2012-09-14 10:38 -0700
Re: subprocess call is not waiting. Chris Rebert <clp2@rebertia.com> - 2012-09-14 21:02 -0700
Re: subprocess call is not waiting. paulstaten@gmail.com - 2012-09-15 05:59 -0700
Re: subprocess call is not waiting. andrea crotti <andrea.crotti.0@gmail.com> - 2012-09-18 14:54 +0100
Re: subprocess call is not waiting. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-18 15:20 -0400
Re: subprocess call is not waiting. andrea crotti <andrea.crotti.0@gmail.com> - 2012-09-19 11:26 +0100
Re: subprocess call is not waiting. Hans Mulder <hansmu@xs4all.nl> - 2012-09-19 15:23 +0200
Re: subprocess call is not waiting. Gene Heskett <gheskett@wdtv.com> - 2012-09-19 11:57 -0400
Re: subprocess call is not waiting. andrea crotti <andrea.crotti.0@gmail.com> - 2012-09-19 17:34 +0100
Re: subprocess call is not waiting. Hans Mulder <hansmu@xs4all.nl> - 2012-09-19 19:31 +0200
csiph-web