JanetDocs
Playground
I'm feeling lucky
GitHub sign in
Run
Format
(os/shell "uptime > /tmp/uptime.txt") # => 0 (slurp "/tmp/uptime.txt") # => @"22:33 up 5 days, 9:34, 15 users, load averages: 1.93 1.74 1.59\n" (os/rm "/tmp/uptime.txt") # => nil