tasty icon indicating copy to clipboard operation
tasty copied to clipboard

Communicate SIGINT to the parent shell

Open UnkindPartition opened this issue 3 years ago • 2 comments

This is the current work I have for #309. Please review and test it well before merging; I don't remember (and can't test right now) if it actually worked.

UnkindPartition avatar May 06 '22 12:05 UnkindPartition

Thank you for this! I will try to test this out on Monday at work. If I don't respond in a couple days and you still want review, please ping :)

santiweight avatar May 14 '22 23:05 santiweight

I'd love to write a test for this, but my attempts behave the same at master and on this branch. I've tried:

  • Write a testGroup that launches processes, then manually send SIGINT: I see the entire process killed and get my shell back in both branches
  • Write a testGroup with one test that sends SIGINT to $$, only that test fails on both branches

VictorCMiraldo avatar Jul 04 '22 06:07 VictorCMiraldo