all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: have emacs use SIGTERM to end a process instead of SIGHUP
Date: Tue, 09 Jul 2013 11:19:31 -0400	[thread overview]
Message-ID: <barmar-38C8D4.11193109072013@news.eternal-september.org> (raw)
In-Reply-To: mailman.586.1373322303.12400.help-gnu-emacs@gnu.org

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	other threads:[~2013-07-09 15:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.586.1373322303.12400.help-gnu-emacs@gnu.org>
2013-07-09 15:19 ` Barry Margolin [this message]
2013-07-12 11:03   ` have emacs use SIGTERM to end a process instead of SIGHUP John Leach
2013-07-08 22:16 John Leach
2013-07-09 12:02 ` Tassilo Horn
2013-07-12 11:01   ` John Leach
2013-07-15 10:46     ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=barmar-38C8D4.11193109072013@news.eternal-september.org \
    --to=barmar@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.