[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile kills background jobs undocumentedly
From: |
Kevin Rodgers |
Subject: |
Re: compile kills background jobs undocumentedly |
Date: |
Fri, 30 Jan 2004 16:28:14 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Dan Jacobson wrote:
Muhahaha, this is how one can have a compile job not get killed, and
be able to do other compile jobs too:
$ cat makefile
book:
trap '' 1; gv book.pdf&
It should be documented.
Really? trap is a shell built-in; it makes the shell that runs the
Makefile command ignore the HUP signal, as does the gv process. But the
Emacs kill-compilation command and the compile-internal utility call
interrupt-process, which sends the INT signal; compile-internal then
calls delete-process, which calls Fkill_process, which sends a QUIT
signal. So I don't see why ignoring HUP would have any effect on that
sequence of actions.
--
Kevin Rodgers