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: Barry Margolin
Subject: Re: have emacs use SIGTERM to end a process instead of SIGHUP
Date: Tue, 09 Jul 2013 11:19:31 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

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.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

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