Paul, One way would be to use the cljw.exe that comes with dejour. This is a windows executable that runs clojure without creating that annoying extra window.
I haven't really looked into making dejour work with Leiningen yet, so that may be a problem for you. You can find the dejour project on github at: http://github.com/russolsen/dejour If you are just interesting in getting Clojure running, download the latest zip or tar file at: http://github.com/russolsen/dejour/downloads Good Luck! Russ On Jun 21, 1:42 pm, Paul Moore <p.f.mo...@gmail.com> wrote: > The common way of running Java applications (and hence Clojure code) > on Windows seems to be to use a batch file wrapper (for example, > lein.bat for Leiningen). It seems to me that there are a number of > issues with this: > > 1. Batch files don't nest well - if I want to call lein.bat from > within another batch file, I have to remember to say "call lein arg > arg..." rather than simply "lein arg arg..." as the latter doesn't > return to the calling script. > 2. I use JP Software's Take Command, which implements a command > language almost, but not precisely, like that of cmd.exe. As a result, > lein.bat (in particular, possibly others) fails with syntax errors. I > appreciate that this is a Take Command problem (and it's not too hard > to work around, in fact) but nevertheless it does routinely trip me > up. And presumably other Take Command users have the same problem. > 3. Using a bat file to start a GUI application from Explorer causes an > unnecessary and ugly console window to appear. > > Before I spend time trying to solve a problem that the Java community > turns out to have solved years ago, is there another solution that > people use? Or is it just one of those things that Windows people put > up with (I'm not a typical Windows user, I guess :-))? > > Thanks, > Paul -- 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