Fork me on GitHub
#planck
<
2019-01-09
>
chrisps15:01:59

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

chrisps15:01:57

got it, need to use apply

chrisps15:01:21

(apply sh (string/split....