From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#14474: 24.3.50; Zombie subprocesses (again) Date: Fri, 31 May 2013 23:14:54 -0700 Organization: UCLA Computer Science Department Message-ID: <51A9915E.9010406@cs.ucla.edu> References: <87ppwevddb.fsf@web.de> <51A24870.8020909@cs.ucla.edu> <87fvx93818.fsf@web.de> <51A2B88F.1090404@cs.ucla.edu> <1369658780.23869.57.camel@localhost> <51A9487B.5080805@cs.ucla.edu> <1370049737.19234.4.camel@localhost> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1370067329 16136 80.91.229.3 (1 Jun 2013 06:15:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Jun 2013 06:15:29 +0000 (UTC) Cc: Michael Heerdegen , Michael Albinus , 14474@debbugs.gnu.org To: Colin Walters Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 01 08:15:28 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uif67-0007Hf-WC for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Jun 2013 08:15:28 +0200 Original-Received: from localhost ([::1]:51555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uif67-0003yd-Di for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Jun 2013 02:15:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uif64-0003wg-9v for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2013 02:15:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uif63-0005xF-E9 for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2013 02:15:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uif63-0005x1-AJ for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2013 02:15:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Uif7e-0000se-2W for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2013 02:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jun 2013 06:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14474-submit@debbugs.gnu.org id=B14474.13700674043309 (code B ref 14474); Sat, 01 Jun 2013 06:17:02 +0000 Original-Received: (at 14474) by debbugs.gnu.org; 1 Jun 2013 06:16:44 +0000 Original-Received: from localhost ([127.0.0.1]:45678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uif7L-0000rJ-CB for submit@debbugs.gnu.org; Sat, 01 Jun 2013 02:16:44 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:33371) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uif7J-0000qj-4n for 14474@debbugs.gnu.org; Sat, 01 Jun 2013 02:16:42 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id C88DA39E8100; Fri, 31 May 2013 23:14:55 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zi56TDreRQIr; Fri, 31 May 2013 23:14:55 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-71-108-49-126.lsanca.fios.verizon.net [71.108.49.126]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 6051839E8008; Fri, 31 May 2013 23:14:55 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 In-Reply-To: <1370049737.19234.4.camel@localhost> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74727 Archived-At: On 05/31/2013 06:22 PM, Colin Walters wrote: > Why, out of curiosity? Emacs has a function process-status that returns a process's status. Possible statuses include run -- for a process that is running. stop -- for a process stopped but continuable. exit -- for a process that has exited. signal -- for a process that has got a fatal signal. To implement this, Emacs keeps track, for each of its child processes, what that process's status is. Emacs updates the information that it records about a child process whenever it's notified about a child process status change.