Back in Windows 7, Ctrl+C worked fine for killing tasks such as gradle. On Windows 10, it does not. I upgraded to Git Bash 2.20.1, where it claims it is fixed (can't find a web link, the release notes are part of the instal package and viewed locally).
Ctrl+C is now handled in Git Bash in a sophisticated way: it emulates the way Ctrl+C is handled in Git CMD, but in a fine-grained way.
Ctrl+C still doesn't work for me. I launch git bash by right clicking a folder in Explorer, and choosing "Git Bash Here"
Ctrl+C seems to work when i'm on the bash terminal idle (without a task running), but gradle for example is unresponsive to Ctrl+C.
C:\Program Files\Git\git-bash.exe
, dated 12/15/2018. I only have one version installed. When I ran the installer, it looked like it just upgraded the git-bash I previously had installed. – HannSIGINT
handler, and can choose not to terminate if they receive aSIGINT
. For example, if you start a python interactive session, a Ctrl+C will not kill the process (at least on Linux). – Mg