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: 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: References: Date: Thu, 13 Sep 2012 22:27:23 -0700 X-Google-Sender-Auth: HrZJiNMf9rtEIccZeOIrGmKBw44 Subject: Re: subprocess call is not waiting. From: Chris Rebert 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Thu, Sep 13, 2012 at 8:17 AM, wrote: > I have a subprocess.call > But it doesn't work as intended. > 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