beanlab / quest_framework

A Python framework for fault-tolerant workflows
1 stars 0 forks source link

Nic/sigint handler #62

Open niclew17 opened 4 days ago

niclew17 commented 4 days ago

I added a dispatch handler that switches to a custom handler if it is supplied otherwise it uses the one that I provided as a default. I made it so that the default signal handler will also reraise the SIGINT so that it can be handled by the user after the workflows all suspend. The test currently will fail because the interrupt is raised again, but if it isn't then it will work. The functionality is what it needs to be, but I'm not sure exactly how we want the test to work.