HappyDuckling
HappyDuckling

Reputation: 21

Is there a way to combine python and perl scripts into a single exe?

I trying to combine several python scripts to an exe, which works fine. However, one of my scripts is calling a perl script, which is not a problem on my machine since I have perl installed.

Now my question: is there a way to include this perl script into my exe, so that it can run as a standalone exe, regardless if the user has perl installed or not?

For context I use subprocess to execute the perl script.

Upvotes: 2

Views: 308

Answers (1)

daxim
daxim

Reputation: 39158

staticperl:

when linking statically, you can create (or embed) a single file that contains perl interpreter, […] and of course your actual program

Upvotes: 2

Related Questions