I have tried using
M-x kill-compilation and it doesn't kill the process (on Microsoft Windows). It just sends
^C, which makes my script to retry.
When I try to
M-x kill-buffer on the compilation buffer it kills the process and closes the buffer.
I want the process killed without closing the compilation buffer. How do I send a stronger kill signal in my compilation buffer?