Without this patch SIGINT was treated as any "normal" error code. So without --abort-on=error the parallel executor would continue.
The patch makes sure to abort when the return code is SIGINT. It does that independently of any previously finished job with a non-zero return code as well as cases where the SIGINT isn't signaled by a signal.SIGINT but using a KeyboardInterrupt or SIGINT_RESULT.
Fixes colcon/colcon-core#104.
Without this patch
SIGINT
was treated as any "normal" error code. So without--abort-on=error
the parallel executor would continue.The patch makes sure to abort when the return code is
SIGINT
. It does that independently of any previously finished job with a non-zero return code as well as cases where theSIGINT
isn't signaled by asignal.SIGINT
but using aKeyboardInterrupt
orSIGINT_RESULT
.