A minor thought: if you do want to run a binary like that, then instead of reading it from a separate file on disk, you can embed it directly into your Go program.
See: https://pkg.go.dev/embed Available since: https://go.dev/doc/go1.16 -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/da4744bc-67f2-4759-ab2d-99bd68fe5631n%40googlegroups.com.
