> powershell -Command "& {param($a,$f)
> (new-object System.Net.WebClient).DownloadFile($a, $f)}" %~2 %~1
>

Ah, yeah.  %~1 and %~2 strip the quotes off the parameters, which isn't a
good idea.
Something like this should work:


> powershell -Command "& {param($a,$f)
> (new-object System.Net.WebClient).DownloadFile($a, $f)}" "%~2" "%~1"
>


> [I can't believe both that in 2013 MS Windows does not handle such
> cases, and that Windows Administrators still create User profiles with
> spaces inside]
>

To be fair, whilst batch file syntax is horrible, it is more a lein.bat
problem in this case.  If we pass two parameters without quotes, and one
has spaces in, it isn't surprising that it gets interpreted wrongly.

I'll submit a patch to fix the handling of profiles with spaces in them in
lein.bat


-- 
Dave

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to