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

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

bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be


From: Lars Ingebrigtsen
Subject: bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be
Date: Thu, 13 Oct 2022 08:34:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Mattias EngdegÄrd <mattias.engdegard@gmail.com> writes:

> What the correct value is a matter of debate. For instance, it could
> be argued that SIGINT to a GUI-only Emacs is to be interpreted as a
> 'please terminate normally' message, in which the exit code 0 may be
> appropriate.

That's true.  Perhaps it'd be instructive to check what other GUI
programs return on SIGINT?

Let's see...  gimp returned non-zero.  So did xterm.  And so did xeyes.

100% non-zero.  😁






reply via email to

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