C:\Users\Roberto Mannai\.lein\bin>powershell -Command echo $host.version
Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1


I'm doing some test, the problem seems to be this line:

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

Where %~1 points to a path with a space inside:
C:\Users\Roberto
Mannai\.lein\self-installs\leiningen-2.1.2-standalone.jar.pending

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

It should be enough to do a smarter string concation; I'll try later.

Thanks again,
Roberto


On Sun, Mar 31, 2013 at 3:45 PM, David Powell <djpow...@djpowell.net> wrote:
> Also, can you check what version of powershell you have?
>
>   powershell -Command echo $host.version
>
> --
> 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.
>
>

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