You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@SevereOverfl0wIDeref, the interface that process records implement, does not support the timeout arity.
But I guess we could also implement clojure.lang.IBlockingDeref to support that use case.
Note that you can also grab the process with :proc and call waitFor yourself, although I think it's good to support what you wrote above.
So I can wait for a process to die naturally or destroy it
(or (deref process 5000 nil) (bb.process/destroy process))
.Could be implemented using https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Process.html#waitFor(long,java.util.concurrent.TimeUnit) ?
The text was updated successfully, but these errors were encountered: