FS#41144 - [clojure] launcher fails to pass args with spaces properly
Attached to Project:
Community Packages
Opened by Antony Lee (anntzer) - Wednesday, 09 July 2014, 18:35 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 11 July 2014, 14:53 GMT
Opened by Antony Lee (anntzer) - Wednesday, 09 July 2014, 18:35 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 11 July 2014, 14:53 GMT
|
Details
Description:
The clojure shell launcher incorrectly splits command-line arguments that contain spaces. Steps to reproduce: $ echo '(println (first *command-line-args*))' > test.clj $ clj -v test.clj 'foo bar' baz .:/usr/share/clojure/clojure.jar java -Dpid=23299 -cp .:/usr/share/clojure/clojure.jar clojure.main test.clj foo bar baz foo I'd expect instead java -Dpid=23299 -cp .:/usr/share/clojure/clojure.jar clojure.main test.clj 'foo bar' baz foo bar |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 11 July 2014, 14:53 GMT
Reason for closing: Fixed
Additional comments about closing: Updated the launcher script.
Friday, 11 July 2014, 14:53 GMT
Reason for closing: Fixed
Additional comments about closing: Updated the launcher script.
Comment by
Alexander F. Rødseth (xyproto) -
Friday, 11 July 2014, 13:26 GMT
Hi, thanks for reporting. I will fix this.
Comment by
Alexander F. Rødseth (xyproto) -
Friday, 11 July 2014, 14:35 GMT
Found a solution. Updating the package. The new package will
appear in [community] shortly.