From 749b35b5942d8577f2398ef040b88a3fcf6bc723 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Wed, 17 Apr 2019 14:06:41 +0000 Subject: [PATCH] Updated wikipage Managing CTRL+C in console application. (Signed-off-by:tioui). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2146 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/documentation/18.11/eiffel/Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki b/documentation/18.11/eiffel/Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki index 791adb27..f1abc49a 100644 --- a/documentation/18.11/eiffel/Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki +++ b/documentation/18.11/eiffel/Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki @@ -1,4 +1,4 @@ -[[Property:modification_date|Wed, 17 Apr 2019 14:03:36 GMT]] +[[Property:modification_date|Wed, 17 Apr 2019 14:06:41 GMT]] [[Property:publication_date|Wed, 17 Apr 2019 14:02:25 GMT]] [[Property:uuid|5CA34C5D-30F1-4D6F-9FE4-B555E541EA8C]] [[Property:weight|4000]] @@ -9,6 +9,8 @@ To manage the CTRL+C keys, you can use a rescue clause to detect th To detect the exception, you can inherit from the EXCEPTIONS class and use an attachment test on Exception_manager.last_exception. +Note that this code does not work on Windows. If used on Windows, the application will quit, but the rescue call is not launched. + note description: "Show how to quit an application using CTRL+C (without trace)."