[Top][All Lists]

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

bug#3608: BG processes killed by start-process

From: Lars Magne Ingebrigtsen
Subject: bug#3608: BG processes killed by start-process
Date: Sat, 17 Sep 2011 08:10:59 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (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.
> 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/

reply via email to

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