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: 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; 'executes': 0.09; 'from:addr:timgolden.me.uk': 0.09; 'from:name:tim golden': 0.09; 'invocation': 0.09; 'message-id:@timgolden.me.uk': 0.09; 'subprocess': 0.09; 'wrote:': 0.14; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'threading': 0.16; 'using,': 0.16; 'please?': 0.19; 'command': 0.19; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'maybe': 0.21; 'code': 0.22; 'header:In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'tried': 0.27; 'problem': 0.29; 'cc:addr:python.org': 0.31; 'tjg': 0.31; 'using': 0.34; 'received:192': 0.34; 'post': 0.34; 'header :User-Agent:1': 0.35; 'received:192.168': 0.37; 'should': 0.37; 'thread': 0.38; 'from:addr:mail': 0.60; 'simple': 0.60; 'soon': 0.76; 'subject:this': 0.79; 'dead': 0.80; 'to:none': 0.92 Date: Thu, 12 May 2011 11:08:11 +0100 From: Tim Golden User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 CC: python-list@python.org Subject: Re: Need Assistance on this program. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 12 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305194894 news.xs4all.nl 81481 [::ffff:82.94.164.166]:52707 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5223 On 12/05/2011 10:45, vijay swaminathan wrote: > > I tried using that as well. > The problem is, the thread becomes dead as soon as it executes the > invocation of command prompt. Can you post the code you're using, please? This should be simple so maybe you've misunderstood something in the threading / subprocess mix. TJG