How am I supposed to use os/spawn?
#1385
Replies: 1 comment
-
|
This is turned into an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems to me that I should always call
os/spawnas below.or
If I don't force proc to be closed with
with, CPU usage skyrockets... I don't understand why, but it does.If I don't set a timeout through
ev/readorev/with-deadline, a zombie process can freeze a janet script for ever.My way seems verbose. Is this the right way to use
os/spawn? Or, are there better and cleaner ways?Beta Was this translation helpful? Give feedback.
All reactions