diff --git a/sciunit2/command/exec_/__init__.py b/sciunit2/command/exec_/__init__.py index 6054c0c..c0321c8 100644 --- a/sciunit2/command/exec_/__init__.py +++ b/sciunit2/command/exec_/__init__.py @@ -10,6 +10,10 @@ from getopt import getopt from pkg_resources import resource_filename +# for FLINC, to avoid SIGINT causing KeyboardInterruptException +# and exiting sciunit execution +import signal +signal.signal(signal.SIGINT, lambda *_: None) class ExecCommand(CommitMixin, AbstractCommand): name = 'exec'