Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; 'subject:not': 0.03; 'ping': 0.09; 'subject:()': 0.09; 'url:faqs': 0.09; 'window.': 0.09; 'cc:addr:python-list': 0.11; 'windows': 0.15; 'subject:when': 0.16; 'through.': 0.16; 'url:catb': 0.16; 'url:~esr': 0.16; 'app': 0.19; 'thanks.': 0.20; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'task': 0.26; 'header :In-Reply-To:1': 0.27; 'correct': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'there.': 0.32; 'running': 0.33; 'could': 0.34; 'received:google.com': 0.35; 'url:org': 0.36; 'two': 0.37; 'list.': 0.37; 'auto': 0.38; 'subject:can': 0.39; 'read': 0.60; 'close': 0.67; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=vzhoacaKYLqqL8XpcksfC26gY+E7JV4kUvWwXh6byc4=; b=ZEAqpefkf2IwEkzrjKaAQ3DMAuw6fyGh8bnS67mjUElZ91Ha6KfoCrA/q6yFnQIFnU sxwFs7hhq5/arLpoOxDFCGudP8caAcZgTOwhl2L/sfOoKa4GEdBgje66r2t9zAolrLDr SnR3DD3HJSVaDXoeeVZ84aqNj5RL8XrG+AXC5H2pEgBk6A0n7uuQeeNfqFv+tLJMQZ3m wcLolZ8TOql6Xr4jjPIZTW7DWu4VkKOKIfhId1lsawSVoxjJDVkF0va5jJs2kG7AMAfN G2qsDbowPbZ+lF1+uXEZmIbSaqBEwClkzjOXQcguErC7mTi/PfJ0vupn6BJmtq9mN9nP 34kA== MIME-Version: 1.0 X-Received: by 10.224.134.201 with SMTP id k9mr17036385qat.59.1403741231847; Wed, 25 Jun 2014 17:07:11 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Jun 2014 18:07:11 -0600 Subject: Re: subprocess can not kill when app exit() From: Jason Friedman Cc: python-list Content-Type: text/plain; charset=UTF-8 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403741241 news.xs4all.nl 2855 [2001:888:2000:d::a6]:38932 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73598 > code in below, when close the app window. the two ping process can not kill auto and keep in the windows 7 task list. > > During running, ping process under Python.exe as two thread. When app exit, this two process move the system process and keep running there. > > could someone help to correct it.? > Many thanks. Hello, That's a lot of code to read through. I recommend you read http://www.catb.org/~esr/faqs/smart-questions.html and then re-submit. Good luck.