Including and running scripts/binaries in a compiled binary #27115
Unanswered
nashaddams
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since it is possible to embed assets files in
deno compile
, I was wondering if there is a way to run embedded scripts or other Deno binaries from within the compiled artifact (viaDeno.Command
)?Demo setup:
main.ts
My goal would be to compose multiple, independently compiled applications into a single binary, and maybe go even further by adding some kind of supervision logic for the embedded applications.
I don't really know how Deno binaries are actually crafted or if this is even remotely possible.
Am I completely out of my mind with this idea or is there a way to make this work?
Beta Was this translation helpful? Give feedback.
All reactions