packr icon indicating copy to clipboard operation
packr copied to clipboard

How can I pack a binary and run it from a box?

Open kahou82 opened this issue 4 years ago • 0 comments

I am writing a go program that will embed some binaries and that go program will execute them (os.execute). Currently I have to read the binaries as byte slice and then use another library (github.com/getlantern/byteexec) to dump the binary out in the system in order to execute it.

Is there a way I can execute the binary from the box instead?

kahou82 avatar Oct 09 '20 04:10 kahou82