How do I stop a python process once it's started? I've made a script that prompts users to input information, but I noticed I needed to change a layer but couldn't stop the process. Also once I start a process to export say 20 maps and notice a mistake on the first output, i.e. I forgot to turn a layer on or have a typo, etc; I have to wait until all 20 maps export before I can fix the error. I've tried hitting the "Interrupt Kernel" button, which only briefly becomes active during exports, but nothing happens. I know python fairly well but am just now learning how to use it with ArcGIS Pro. TIA
The default interrupt shortcut is <i+i>. I think Jupyter runs in a separate kernel and overrides the <ctrl+c> interrupt command.
You can also move your code into a script tool and use the Stop button, or a raw script that's run from a terminal and uses <ctrl+c>.