JanetDocs
Playground
I'm feeling lucky
GitHub sign in
Run
Format
(def p1 (os/spawn ["echo" "hello"] :p {:out :pipe})) (def p2 (os/spawn ["grep" "hello"] :p {:in (p1 :out)})) (:wait p2) # Creates a pipeline (e.g. echo hello | grep hello)