From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#3608: BG processes killed by start-process Date: Sat, 17 Sep 2011 08:10:59 +0200 Message-ID: References: <8D1E7569-9805-41CC-BB22-73FEDD276971@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316240147 11747 80.91.229.12 (17 Sep 2011 06:15:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Sep 2011 06:15:47 +0000 (UTC) Cc: 3608@debbugs.gnu.org To: JD Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 17 08:15:41 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R4oBh-0007fu-Mt for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Sep 2011 08:15:41 +0200 Original-Received: from localhost ([::1]:48897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4oBg-0002em-Tx for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Sep 2011 02:15:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4oBa-0002S0-Kh for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 02:15:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4oBU-0001XA-AZ for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 02:15:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4oBT-0001Wy-W2 for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 02:15:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R4oG7-0004ee-HP; Sat, 17 Sep 2011 02:20:15 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2011 06:20:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3608 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 3608-submit@debbugs.gnu.org id=B3608.131624041317876 (code B ref 3608); Sat, 17 Sep 2011 06:20:15 +0000 Original-Received: (at 3608) by debbugs.gnu.org; 17 Sep 2011 06:20:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4oG4-0004e4-Nd for submit@debbugs.gnu.org; Sat, 17 Sep 2011 02:20:13 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4oFf-0004c1-Hu for 3608@debbugs.gnu.org; Sat, 17 Sep 2011 02:19:56 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R4oAu-0002lG-NH; Sat, 17 Sep 2011 08:14:52 +0200 In-Reply-To: <8D1E7569-9805-41CC-BB22-73FEDD276971@gmail.com> (JD Smith's message of "Thu, 18 Jun 2009 14:03:41 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Ikonika's _Contact, Love, Want, Have_: "Red Marker Page (Good Ending)" X-MailScanner-ID: 1R4oAu-0002lG-NH MailScanner-NULL-Check: 1316844893.3784@op7GLIqjIYk1pti38GmGRA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 17 Sep 2011 02:20:15 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:51257 Archived-At: JD Smith writes: > Start-process seems to kill off child processes of which have been put > into the background. > > Create a small shell script "bgtest": > > #!/bin/sh > sleep 121 & > exit 0 > > and now > > (start-process "BGTEST" nil "bgtest") > > Notice that the sleep process has been killed, rather than waited on. > > Is this the intended behavior? Any thoughts for preventing it (other > than modifying the script, which I don't control)? I'm unable to reproduce this bug in Emacs 24: (setq a (start-process "BGTEST" nil "/tmp/bgtest")) => # (process-status a) => exit Do you still see this bug in a current Emacs? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/