a-shell
a-shell copied to clipboard
[Bug] can't ^c when running python files
^c don't work when running python files like using python main.py
iPhone 16 Pro with iOS 26.2 beta 3
That is a frequently asked question, and a known limitation of how a-Shell works, within the constraints of iOS: it is not possible to force a command to end. If we do, Python does not clean up the memory it has allocated, and cannot restart afterwards.
Control-C does send an interupt signal to the process running, but it's up to the process to listen to it, and end Python cleanly when receiving it.