On Mon, Aug 15, 2011 at 11:13 AM, mrwizard82d1 <mrwizard8...@gmail.com> wrote:
> I understand that the 1.3 beta plans to add an environment variable
> named clojure.load.path to provide a "CLASSPATH" mechanism for Clojure
> on the CLR.
>
> Although I use Windows, I have installed cygwin because I prefer the
> Unix tool set to that provided by Windows. Although a Windows console
> allows one to set environment variables like "clojure.load.path," the
> bash shell does not.

Are you sure there isn't some form of quoting or escaping that will
make that name acceptable to bash?

Failing that, can you invoke Windows's setenv from within bash? If
it's a .com or .exe it should be possible but if it's a cmd.exe
builtin command like dir you'd probably be SOL. (You can invoke
cmd.exe with a command to execute, but I expect if that command is
setenv the environment change will be popped when cmd.exe exits.)

Failing that, too, you could resort to cobbling together your own
setenv.exe using Windows APIs and gcc to invoke from your launch
script.

-- 
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.

-- 
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