Hacker News new | ask | show | jobs
by doxos 3159 days ago
A reader macro for embedding shell commands within clojure forms would be interesting. Something like:

(let [x #sh ls] (pprint x))

Or some kind of way to embed shell execution directly in the form...

1 comments

Or sh/ls, like we would do with js/alert, where sh is some handle to a global shell object we can call from within a form.
Ah, never mind, I just saw sh-ok.