GNU bug report logs - #3608
BG processes killed by start-process

Previous Next

Package: emacs;

Reported by: JD Smith <jdtsmith <at> gmail.com>

Date: Thu, 18 Jun 2009 18:10:09 UTC

Severity: normal

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: JD Smith <jdtsmith <at> gmail.com>
Cc: 3608 <at> debbugs.gnu.org
Subject: bug#3608: BG processes killed by start-process
Date: Sat, 17 Sep 2011 08:10:59 +0200
JD Smith <jdtsmith <at> gmail.com> 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 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/




This bug report was last modified 13 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.