Perhaps you can use a context. It wouldnt be truely nonblocking but maybe it is sufficient to use cancel or deadline. https://cs.opensource.google/go/go/+/refs/tags/go1.23.2:src/os/exec/exec.go;drc=d0146bd85bb6870aa43a498b06ccb473af55cbe3;l=453.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/d8479897-3020-40e4-bf2f-4f10ec57c102n%40googlegroups.com.