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


Groups > comp.lang.python > #73599

Re: subprocess can not kill when app exit()

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; 'output': 0.05; 'happen,': 0.09; 'ping': 0.09; 'subject:()': 0.09; 'url:faqs': 0.09; 'window.': 0.09; 'windows': 0.15; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'illustrates': 0.16; 'specific,': 0.16; 'subject:when': 0.16; 'through.': 0.16; 'url:catb': 0.16; 'url:~esr': 0.16; 'wrote:': 0.18; 'app': 0.19; 'thanks.': 0.20; 'example': 0.22; 'header:User- Agent:1': 0.23; 'task': 0.26; 'post': 0.26; 'header:In-Reply- To:1': 0.27; 'correct': 0.29; "i'm": 0.30; 'code': 0.31; 'lines': 0.31; 'complete,': 0.31; 'there.': 0.32; 'running': 0.33; 'minimal': 0.33; 'could': 0.34; 'possible': 0.36; 'url:org': 0.36; 'two': 0.37; 'list.': 0.37; 'clear': 0.37; 'message- id:@gmail.com': 0.38; 'auto': 0.38; 'jason': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'subject:can': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'full': 0.61; 'close': 0.67; 'dozen': 0.91
X-Virus-Scanned amavisd-new at torriefamily.org
Date Wed, 25 Jun 2014 18:46:16 -0600
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: subprocess can not kill when app exit()
References <dc5464d3-1470-442f-8a2f-87daeaa79579@googlegroups.com> <CANy1k1jxJK=pKk+gA3yM0mmsQhr4kY0aGH=GrWMHM6ort0fNDA@mail.gmail.com>
In-Reply-To <CANy1k1jxJK=pKk+gA3yM0mmsQhr4kY0aGH=GrWMHM6ort0fNDA@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.11249.1403743589.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1403743589 news.xs4all.nl 2843 [2001:888:2000:d::a6]:40207
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:73599

Show key headers only | View raw


On 06/25/2014 06:07 PM, Jason Friedman wrote:
>> 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.

Indeed. Post the shortest possible code that illustrates your problem,
then ask some specific, clear questions and I'm sure we can help you
out.  With the complete, minimal example (a dozen lines of code
perhaps), state what you want to happen, what does happen, and any
output including full traces.

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


Thread

subprocess can not kill when app exit() 不坏阿峰 <onlydebian@gmail.com> - 2014-06-25 03:57 -0700
  Re: subprocess can not kill when app exit() Jason Friedman <jsf80238@gmail.com> - 2014-06-25 18:07 -0600
  Re: subprocess can not kill when app exit() Michael Torrie <torriem@gmail.com> - 2014-06-25 18:46 -0600

csiph-web