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

Reply via email to