Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'problem:': 0.07; 'other,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'spawn': 0.09; 'aug': 0.13; 'benjamin': 0.16; 'deprecated.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subprocess': 0.16; 'mon,': 0.16; "shouldn't": 0.17; 'tim': 0.18; 'module': 0.19; 'allows': 0.25; 'older': 0.27; 'instead.': 0.27; 'replace': 0.27; 'header:X-Complaints-To:1': 0.28; 'no,': 0.29; "i'm": 0.29; 'johnson': 0.32; 'url:home': 0.33; 'to:addr:python- list': 0.33; 'version': 0.34; 'received:org': 0.36; 'modules': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'management': 0.65; 'stuck': 0.65; 'as:': 0.75; 'subject:get': 0.81; 'subject:status': 0.84; 'dennis': 0.91; 'intends': 0.91; 'received:108': 0.91; 'processes,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: popen4 - get exit status Date: Tue, 28 Aug 2012 01:36:44 -0400 Organization: > Bestiaria Support Staff < References: <20120827223938.GZ35917@mail.akwebsoft.com> <20120827234359.GA35917@mail.akwebsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-73-117-120.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346132407 news.xs4all.nl 6961 [2001:888:2000:d::a6]:50669 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28013 On Mon, 27 Aug 2012 15:43:59 -0800, Tim Johnson declaimed the following in gmane.comp.python.general: > * Benjamin Kaplan [120827 15:20]: > > The popen* functions are deprecated. You should use the subprocess module > > instead. > No, I'm stuck with py 2.4 on one of the servers I'm using and Shouldn't be a problem: -=-=-=- 17.1 subprocess -- Subprocess management New in version 2.4. The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes. This module intends to replace several other, older modules and functions, such as: -=-=-=- -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/