Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #11096
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <chris@rebertia.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:module': 0.04; 'danny': 0.09; 'deprecated': 0.09; 'docs,': 0.16; 'like?': 0.16; 'parallel,': 0.16; 'received:209.85.213.174': 0.16; 'received :mail-yx0-f174.google.com': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'cheers,': 0.18; 'subject:skip:s 10': 0.18; 'cc:no real name:2**0': 0.20; 'seems': 0.20; 'trying': 0.21; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'tue,': 0.23; 'pm,': 0.24; 'aug': 0.24; "i'm": 0.27; 'all,': 0.28; 'message- id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.30; 'threads': 0.30; 'chris': 0.32; "what's": 0.33; 'external': 0.35; 'using': 0.37; 'but': 0.37; 'some': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'your': 0.61; 'database.': 0.74; 'sender:addr:chris': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=fhcVqEtsFX2PKZAst3dnpjg4UDxYQLzpa71Q9Ser13Q=; b=fhvfBv9DXVhMmn3kjavQD7Kwl7t8mejbIgPdiXpbBocvQJQ0l1izTFeAIrkgFCCRJt Mt/F+mkQK/M4LVAk8tlKtYGCODe8nXmEg2XwkrOT8iD5x1/8EKqr6Xa8xkYAexVdniyO lnBRw1sIvDDeHLhLLqQ+q+l2Pk75RWfbgiI5A= |
| MIME-Version | 1.0 |
| Sender | chris@rebertia.com |
| In-Reply-To | <D59C59453D0EDC43832490B6DADFAECF0432A191@XMB-RCD-214.cisco.com> |
| References | <20110808013500.7c9e30ff44caee0f0bbf988a@johnohagan.com> <D59C59453D0EDC43832490B6DADFAECF0432A191@XMB-RCD-214.cisco.com> |
| Date | Tue, 9 Aug 2011 23:47:04 -0700 |
| X-Google-Sender-Auth | LE8MtuZlwDrbPVvKHG9JgcPh5gE |
| Subject | Re: subprocess.Popen and thread module |
| From | Chris Rebert <clp2@rebertia.com> |
| To | "Danny Wong (dannwong)" <dannwong@cisco.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.2087.1312958826.1164.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1312958826 news.xs4all.nl 23931 [2001:888:2000:d::a6]:46189 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:11096 |
Show key headers only | View raw
On Tue, Aug 9, 2011 at 11:38 PM, Danny Wong (dannwong) <dannwong@cisco.com> wrote: > Hi All, > I'm trying to execute some external commands from multiple database. > I'm using threads and subprocess.Popen ( from docs, all the popen* > functions are deprecated and I was told to use subprocess.Popen) to > execute the external commands in parallel, but the commands seems to > hang. What's your Popen() call look like? Cheers, Chris
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: subprocess.Popen and thread module Chris Rebert <clp2@rebertia.com> - 2011-08-09 23:47 -0700
csiph-web