githooks icon indicating copy to clipboard operation
githooks copied to clipboard

Checking: Ctrl+C

Open gabyx opened this issue 5 years ago • 4 comments

@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?

gabyx avatar Aug 26 '20 12:08 gabyx

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

rycus86 avatar Aug 26 '20 12:08 rycus86

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

gabyx avatar Aug 26 '20 12:08 gabyx

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

rycus86 avatar Aug 26 '20 12:08 rycus86

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

gabyx avatar Aug 26 '20 12:08 gabyx