;-) I'm still at letter b in clojure.core. Grin. Regards, a.
Meikel Brandmeyer schrieb: > Hi, > > On Fri, Mar 19, 2010 at 11:00:34AM -0700, alux wrote: > > > spels=> (make-array (.getClass "") 2 ) > > #<String[] [Ljava.lang.String;@ad8659> > > spels=> (def arr (make-array (.getClass "") 2 )) > > #'spels/arr > > spels=> (aset arr 0 "write") > > "write" > > spels=> (aset arr 1 "c:\\config.sys") > > "c:\\config.sys" > > spels=> (.exec (Runtime/getRuntime) arr) > > It's easier to use into-array: > (.exec (Runtime/getRuntime) (into-array ["write" "c:\\config.sys"])) > > Sincerely > Meikel -- 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.