Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 483963f

Browse files
committed
missing bit
1 parent b869403 commit 483963f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aqueductcore/backend/services/task_executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ def run_executable( # pylint: disable=unused-argument
9797
out, err = proc.communicate(timeout=None)
9898
code = proc.returncode
9999
args = (code, out.decode("utf-8"), err.decode("utf-8"))
100+
if abs(code) == signal.SIGINT:
101+
raise KeyboardInterrupt()
100102
if code != 0:
101103
raise ChildProcessError(args)
102104
return args

0 commit comments

Comments
 (0)