help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: have emacs use SIGTERM to end a process instead of SIGHUP


From: John Leach
Subject: Re: have emacs use SIGTERM to end a process instead of SIGHUP
Date: Fri, 12 Jul 2013 12:03:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

On 09/07/13 16:19, Barry Margolin wrote:
> In article <mailman.586.1373322303.12400.help-gnu-emacs@gnu.org>,
>  John Leach <john@johnleach.co.uk> wrote:
> 
>> Hi,
>>
>> I'm starting a process using start-process-shell-command, but the
>> command I'm running doesn't exit when it receives a SIGHUP (it reloads
>> it's configs or something) so I end up with orphaned processes hanging
>> around when I close the buffer or exit emacs.
> 
> That's really strange behavior for a non-daemon process. Wouldn't it 
> have the same problem if you ran it from a normal terminal and 
> disconnected?
> 
> SIGHUP is the expected signal when a process's terminal goes away.
> 

true - it's probably a good idea for me to submit a patch to this
program to have it behave properly.

John.



reply via email to

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