Subject: Re: BG processes killed by start-process

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Sat, 17 Sep 2011 08:10:59 +0200

JD Smith <[email-masked]> 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/