Replies: 1 comment 1 reply
-
This isn't really an answer, but I don't know of a nice way to do this right now. Neither I think it would probably be reasonable to add https://github.com/andrewchambers/janet-sh is a nice subprocess DSL but it doesn't have a way to spawn subprocesses without synchronously awaiting them (you can do this with the janet-posix-spawn library it's based on; I don't think you can asynchronously await the native |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to run an external program in several different directories in parallel. In Clojure, to run an external program in a given directory, I would run
(sh "pwd" :dir "some/path")
and get backsome/path
. How would this be done in Janet?Beta Was this translation helpful? Give feedback.
All reactions