Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to exit the REPL

I'm trying to exit the REPL.

I use (. System exit 0) or (System/exit 0), but that causes an error:

Exception in thread "Thread-3" java.lang.RuntimeException: java.lang.IndexOutOfBoundsException 

Is there another way to exit the REPL? How I can resolve this error?

like image 597
patz Avatar asked Feb 13 '11 00:02

patz


People also ask

How do I exit REPL mode?

You can just press ctrl-d (*nix) or ctrl-z (Windows) to exit the REPL.


1 Answers

You can send the 'end-of-file' character.

You can just press ctrl-d (*nix) or ctrl-z (Windows) to exit the REPL.

like image 55
Sean Corfield Avatar answered Oct 02 '22 22:10

Sean Corfield