[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3608: BG processes killed by start-process

From: Andreas Schwab
Subject: bug#3608: BG processes killed by start-process
Date: Sat, 17 Sep 2011 08:58:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

JD Smith <address@hidden> 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 Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]