a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

[Bug] can't ^c when running python files

Open KrsMt-0113 opened this issue 2 months ago • 1 comments

^c don't work when running python files like using python main.py iPhone 16 Pro with iOS 26.2 beta 3

KrsMt-0113 avatar Nov 27 '25 09:11 KrsMt-0113

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.

holzschu avatar Nov 27 '25 10:11 holzschu