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


Groups > comp.lang.python > #90998

Re: subprocess.Popen zombie

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de>
Newsgroups comp.lang.python
Subject Re: subprocess.Popen zombie
Date Thu, 21 May 2015 08:35:43 +0200
Organization A not so newly installed InterNetNews server
Lines 14
Message-ID <mjjuc5$1ft$1@r01.glglgl.de> (permalink)
References <mailman.170.1432127818.17265.python-list@python.org> <87bnhfqmr4.fsf@universite-de-strasbourg.fr.invalid> <mailman.177.1432140299.17265.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace tota-refugium.de 1432190162 10273 eJwNzAkBwDAIBDBLFMpB5fD6l7BFQFRwUHahuLq6z8o4VqBzHHOXWDKVs+XB00gpm7bDqKKF4KrZ8Im6DOYh9AOpl+w/LSV1HsNkzZmMD4yxHtA= (21 May 2015 06:36:02 GMT)
X-Complaints-To abuse@news.tota-refugium.de
NNTP-Posting-Date Thu, 21 May 2015 06:36:02 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 Hamster/2.1.0.11
X-User-ID eJwFwYEBwCAIA7CXEKSUc1TW/09YkoGFVxuJnUq14MuBU8GrGx20PnvSGXPGSauvV8ie6lE/COQQuA==
In-Reply-To <mailman.177.1432140299.17265.python-list@python.org>
Cancel-Lock sha1:7ilnSUES03cf1YQtAaAUogY/NR0=
X-NNTP-Posting-Host eJwNykkBwDAIBEBL3LByQgL+JbTzHtfguGnhYb6+c/zlxC1FzSyaJY+oSGnC2dA0JWvBjxh5aJvaTauhWrCQ7FtrczUDtkol9CewlwXOB2WSHMk=
Xref csiph.com comp.lang.python:90998

Show key headers only | View raw


Am 20.05.2015 um 18:44 schrieb Robin Becker:

> not really, it's just normal to keep event routines short; the routine
> which beeps is after detection of the cat's entrance into the house and
> various recognition schemes have pronounced intruder :)

You could add a timed "cleanup" routine which .wait()s after a certain 
time (250 ms or so).

Or even better, which .poll()s and re-schedules itself if the process 
still runs.


Thomas

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


Thread

subprocess.Popen zombie Robin Becker <robin@reportlab.com> - 2015-05-20 14:16 +0100
  Re: subprocess.Popen zombie Cecil Westerhof <Cecil@decebal.nl> - 2015-05-20 16:48 +0200
  Re: subprocess.Popen zombie Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2015-05-20 17:42 +0200
    Re: subprocess.Popen zombie Robin Becker <robin@reportlab.com> - 2015-05-20 17:44 +0100
      Re: subprocess.Popen zombie Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2015-05-21 08:35 +0200
        Re: subprocess.Popen zombie Ian Kelly <ian.g.kelly@gmail.com> - 2015-05-21 08:13 -0600

csiph-web