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: Mattias Engdegård
Subject: bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be
Date: Wed, 12 Oct 2022 17:31:33 +0200

> It does seem like a bug -- I'd expect a non-zero exit code in this case. 

It's by design, more or less: see handle_interrupt_signal in keyboard.c. 
Whether that design is desired or not is a different matter.

(C-g should probably not generate a signal in the first place; it creates more 
problems than it solves.)






reply via email to

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