planck

Planck ClojureScript REPL
chrisps 2019-01-09T15:36:59.004700Z

In planck I am trying this, but it fails, do you know why?

t.core=> (sh (string/split "/usr/local/bin/git ls-files -z *.cljs" #" "))
["/usr/local/bin/git" "ls-files" "-z" "*.cljs"] - failed: string? in: [0] at: [:cmd] spec: :planck.shell/sh-async-args
ERROR

chrisps 2019-01-09T15:39:57.005200Z

got it, need to use apply

chrisps 2019-01-09T15:40:21.005900Z

(apply sh (string/split....