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


Message #13 received at 3608-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: JD Smith <jdtsmith <at> gmail.com>
Cc: 3608-done <at> debbugs.gnu.org
Subject: Re: bug#3608: BG processes killed by start-process
Date: Sat, 17 Sep 2011 08:58:18 +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.

That's not a bug.  The session created for the process is closed when
the process exits, which causes the kernel to send SIGHUP to all
remaining processes in the session.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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.