JanetDocs
Playground
I'm feeling lucky
GitHub sign in
Run
Format
(def p (os/spawn ["ls"] :p {:in :pipe :out :pipe})) # define core/process with selfpipe (pp (:read (p :out) :all)) # => prints the ls output (pp (:wait p)) # => waits for the process to finish, prints 0 if succesful