rycus86 / githooks

Githooks: per-repo and global Git hooks with version control
MIT License
380 stars 19 forks source link

Checking: Ctrl+C #117

Open gabyx opened 4 years ago

gabyx commented 4 years ago

@rycus86 : Can you once check Ctrl+C when you do

git hooks update when at the prompt Do you want to install the hooks into existing repositories? [Y/n]

I cannot SIGINT anymore, it does not react, thats on windows, what do you have on Linux?

rycus86 commented 4 years ago

I'll check next time I'm at a computer. Not sure what could have happened there.

gabyx commented 4 years ago

Maybe its just "wincrap" and its bash... Maybe our changes with dispatching with exec and so forth.... dunno

rycus86 commented 4 years ago

Yeah, I have some vague memories exec can mess things up, but can't remember exactly. Will check when I get a chance.

gabyx commented 4 years ago

https://stackoverflow.com/questions/58473685/sending-sigint-to-forked-exec-process-which-runs-script-does-not-kill-it