On Fri, Oct 30, 2009 at 10:23 AM, Arie van Wingerden <xapw...@gmail.com> wrote:
> Hi,
>
> when I run a Clojure script Clojure ends directly when the script is
> finished.
>
> I would like an option to keep the Clojure REPL open when the script has
> finished. Is this possible somehow?
>
> Currently I use something like this (in WinXP):
>    set jar1="C:\Clojure\clojure.jar"
>    set jar2="C:\Clojure\clojure-contrib.jar"
>    set jar3="D:\data\src\Clojure\Book-ProgrammingClojure"
>    java -cp %jar1%;%jar2%;%jar3% clojure.main %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> Hope anybody can help :-)

java -cp ~/build/clojure/clojure.jar clojure.main -i some_script.clj -r

--Chouser

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to