Ask coding questions

← Back to all posts
Hard stop a REPL
SPQR (596)

Is there a way to manually stop a repl non-programatically, through the shell perhaps? I have an issue where my program finishes executing but X stays open and the run/stop button still says stop, but clicking it incessantly doesn't do anything. I've been manually starting my repl thru the shell every time, but this is a bit of a pain.


Hi, I've also been having this issue. Really hoping someone comes up with an answer. I'll let you know if I discover anything.

emotionbot (9)

You can use sys.exit() in python to exit the system.