Ask coding questions

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

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.

Commentshotnewtop
emotionbot (0)

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

ETHANSIAO (33)

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.