Have you already tried println'ing the args out, and/or constructing a single line like this?
(def problem-cmd (str "app" "arg1" "arg2" "etc")) (sh/sh problem-cmd) -----Original Message----- From: Eric in San Diego <eric.sc...@acm.org> Sender: clojure@googlegroups.com Date: Wed, 11 Jul 2012 15:21:03 To: <clojure@googlegroups.com> Reply-To: clojure@googlegroups.com Subject: Clojure shell calls results inconsistent with actual shell calls. In a shell, I can call > app arg1 arg2 arg3 arg4 arg5 arg6 arg7 and get my expected results. However, if I make what I think is the same call programmatically in clojure: (ns ... (:require [clojure.java.shell :as sh] )) (defn test [] (sh/sh "app" "arg1" "arg2" "arg3" "arg4" "arg5" arg6" "arg7")) my app is throwing an error. Is there some way to get at the difference between the args as passed from the command-line and the args as passed from the shell call? I would add that this approach has always worked in the past, not clear why this particular app is the exception. Thanks for any help. -- 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 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