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


Groups > comp.lang.python > #29116

Re: subprocess call is not waiting.

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.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.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'versions,': 0.05; 'python': 0.09; 'received:mail-vc0-f174.google.com': 0.09; 'sep': 0.09; 'cc:addr:python-list': 0.10; 'subject:not': 0.11; 'intended.': 0.16; 'wrote:': 0.17; 'module,': 0.17; 'pfxlen:0': 0.17; 'thu,': 0.17; 'module': 0.19; 'work,': 0.22; 'cheers,': 0.23; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'implemented': 0.27; 'instead.': 0.27; 'message- id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'chris': 0.28; 'received:209.85.220.174': 0.29; 'version': 0.34; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'should': 0.36; 'itself': 0.37; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'header:Received:5': 0.40; 'back': 0.62; '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; bh=9gs8o9vgwC81dvmQU+EDWr14GGLHmarRWnduifKjwGQ=; b=W25hx/14sxgn9vUeG+369gnGqX7yWACJka6Pas2pwIL/6z1qcOniR00gaURa9+hHQX TNPUhpxuwsphSTXJSFPfeb9rS7ZvQzeW+mJY0KMVzyB5n4GzApnLHhOKdG4/QVI3fpxF IonOatbUPUHD9NAm0g6TwZo0A4Odr9kU/+Ix4=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=9gs8o9vgwC81dvmQU+EDWr14GGLHmarRWnduifKjwGQ=; b=dlWsknydWpg+xxuNBmjOX/VdOomQhJefbEo+x+aQMho0xWvHjqIHMv/CWr9YD5dsFT ESyI/HDYTxjCMbpln2ZfhC6P6gdn8CCV9ge6zm3iGnEEIPFKeok1BYOwkBZbycXHjO3t zmgpqcF5Rk62A4Zn3HzMb4ZMXrCQg7x+apSFOXtXmybNh1gI6O1POh0fgI7Ua0e3Fj5d lSVoL9KN9LDG0/7miLZOY4Mm/JBvCgGvphF1EhKuxTS+iFk5vhfAMqkTamrbzKVk73wg /eO3sVf1ZKVW+R2OYzJtXT1h/YRc2WcJEAiMZ5pbJ+ZnI7AMQrT80NDGhbEP0bxh6puP zvrw==
MIME-Version 1.0
Sender chris@rebertia.com
In-Reply-To <d49e1e71-afe2-4aab-8c67-3e2eea6533a6@googlegroups.com>
References <d49e1e71-afe2-4aab-8c67-3e2eea6533a6@googlegroups.com>
Date Thu, 13 Sep 2012 22:27:23 -0700
X-Google-Sender-Auth HrZJiNMf9rtEIccZeOIrGmKBw44
Subject Re: subprocess call is not waiting.
From Chris Rebert <clp2@rebertia.com>
To paulstaten@gmail.com
Content-Type text/plain; charset=UTF-8
X-Gm-Message-State ALoCoQlZ7CrpFu0ShZmFzAFjU2MGNcE5gGyyOwI8fvsc0tkQvHueS8LGsPvHkmwtYf0dLz1s7g2g
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.668.1347600446.27098.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347600446 news.xs4all.nl 6955 [2001:888:2000:d::a6]:57121
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29116

Show key headers only | View raw


On Thu, Sep 13, 2012 at 8:17 AM,  <paulstaten@gmail.com> wrote:
> I have a subprocess.call
<snip>
> But it doesn't work as intended.
<snip>
> Should I just go back to os.system?

Did the os.system() version work?

As of recent Python versions, os.system() is itself implemented using
the `subprocess` module, so if it does work, then it assuredly can be
made to work using the `subprocess` module instead.

Cheers,
Chris

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


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