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

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

bug#17036: Continuation for Emacs: invoking a process on exit?


From: Reuben Thomas
Subject: bug#17036: Continuation for Emacs: invoking a process on exit?
Date: Tue, 18 Mar 2014 22:56:34 +0000

On 18 March 2014 22:52, Andreas Schwab <schwab@linux-m68k.org> wrote:
Reuben Thomas <rrt@sc3d.org> writes:

> Is there a way to give Emacs itself a continuation, i.e. a command to exec
> when it exits?

kill-emacs-hook?

That's not a tail-call: to reexec Emacs, it needs to be a proper exec. It might work from kill-emacs-hook, but it's surely not safe? Emacs hasn't finished shutting down when it runs…

--
http://rrt.sc3d.org

reply via email to

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