Hi we have a Clojurescript exec process working
(def child-process (nd/require "child_process"))
(defn exec [cmd opt fn] (.exec child-process cmd opt fn))
(let [opt (clojuremap->jsobj {:cwd "path"})]
(exec "ls -la" opt (fn [err stdout stderr] ....)))
But can't figure out how to swap exec for spawn. Has any one done this?
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.