Commit 2fe80988 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Replaced SystemExit().

parent cbae5d92
......@@ -12,6 +12,7 @@ import signal
import re
from typing import TYPE_CHECKING
import shutil
import sys
from ..io import output_writer as OUT_W
from ..io import input_reader as INP_R
......@@ -521,7 +522,8 @@ class process_controller(object):
if signum == 2:
raise KeyboardInterrupt('Received a KeyboardInterrupt.') # terminate execution and show traceback
elif signum == 15:
raise SystemExit()
sys.exit(0)
# raise SystemExit()
def shutdown(self):
"""Shutdown the process controller instance (loggers, remove temporary directories, ...)."""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment