2009/10/18 David Powell <djpow...@djpowell.net>: > I just posted a project at <http://github.com/djpowell/liverepl>. > > It uses the Java Attach API to let you connect a Clojure REPL to any running > Java or Clojure process, without them requiring any special startup.
That's very cool :) > It probably requires a Sun 1.6 JDK. And currently the startup script is a I tried with: java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu11) OpenJDK Client VM (build 14.0-b08, mixed mode, sharing) and I can attach, but if the process I attach to exits, I get a never-ending stream of \xef \xbf \xbf characters: 00000000 75 73 65 72 3d 3e 20 ef bf bf ef bf bf ef bf bf |user=> .........| 00000010 ef bf bf ef bf bf ef bf bf ef bf bf ef bf bf ef |................| 00000020 bf bf ef bf bf ef bf bf ef bf bf ef bf bf ef bf |................| [...] Also, I can't exit with Ctrl-D as is possible with a normal REPL. Ctrl-C works, though. Both very minor issues, but I thought I'd mention them in case they're easy to fix. I would love to see an example or two of how one could use this. :) -- Michael Wood <esiot...@gmail.com> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---