On 9 June 2014 12:39, gvim <gvi...@gmail.com> wrote: > Then why does this work when executed manually in the shell? > > ./swetest -p0123456789t -fPZl -b14.10.1960 -ut13:45 -roundmin -head > -true -eswe
I suspect exec/sh is expecting a list of options. The way you are calling it, swetest is called with only two arguments (data and flags). When you type the command at the shell, the shell splits on whitespace before invoking exec, so it sees 8 arguments. I would expect this to work: (exec/sh ["/Users/zephyr/html/astro/bin/swetest" "-p0123456789t" "-fPZl" "-b14.10.1960" "-ut13:45" "-roundmin" "-head" "-true" "-eswe"]) Ray. -- 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/d/optout.