diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index c90534b8f5f..2e3c4e7b945 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -288,7 +288,11 @@ def signal_handler(signum, frame=None): pass else: signal.signal(signal.SIGTERM, signal_handler) - signal.signal(signal.SIGINT, signal_handler) + if not DEV: + # Make spyder quit when presing ctrl+C in the console + # In DEV because Ctrl+C doens't quit, because it helps to + # capture the traceback when spyder freezes + signal.signal(signal.SIGINT, signal_handler) # Use a custom Qt stylesheet if sys.platform == 'darwin':