I want to create a Brl-cad project using Clojure programming language in which I can create a database and some solid figure like sphere. I have written the code using ``sh`` clojure function but getting error. The ``sh`` function is working fine as I have checked in repl. This is the code I'm using: *(ns brl-cad.core* *(:require [clojure.java.shell :refer [sh]]))*
*(defn example []* *(println (:out (sh "-c" "./mged" "test.g"))))* I have added the mged path also: */usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:Applications/BRL-CAD\ \:\ MGED\ 7.24.0.app/Contents/Resources/rel-7.24.0/bin:/opt/X11/bin* Error which I'm getting: *Execution error (IOException) at java.lang.ProcessImpl/forkAndExec (ProcessImpl.java:-2).* *error=2, No such file or directory* I am using Mac OSX. I'm having problem with creating database and solid figure like sphere. Thank You -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/8cee85cf-4887-4acc-b850-2f8fcc126eee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.