clj-896-browse-url-uses-xdg-open-patch2.txt is based more on the patch attached to
CLJ-920 by Jeremy Heiler than on the earlier patch attached to this ticket. He and I have signed CAs.
I think this patch improves on both of the previous patches for
CLJ-896 and CLJ-920. In particular, Jeremy's worked fine, but it caused a long slowdown in the running of tests when building Clojure. This one does not.
Mac OS X 10.6.8
Windows XP SP3, both in cmd.exe and a Cygwin bash shell
Ubuntu 10.04 LTS
It would be great if someone could test it on a BSD system. The only possible issue I can think of is whether the output of the "which" command is different there than on the Linux system I tested.
If someone wants to make a patch that doesn't use "which", but instead checks the PATH, I'd recommend they also test on Windows in cmd.exe to make sure it works correctly there.