我尝试将几个 python 脚本合并到一个 exe 中,效果很好。然而,我的一个脚本正在调用 perl 脚本,这在我的机器上不是问题,因为我安装了 perl。
现在我的问题:有没有办法将此 perl 脚本包含到我的 exe 中,以便它可以作为独立的 exe 运行,无论用户是否安装了 perl?
对于上下文,我使用子进程来执行 perl 脚本。
最佳答案
when linking statically, you can create (or embed) a single file that contains perl interpreter, […] and of course your actual program
关于python - 有没有办法将 python 和 perl 脚本合并到一个 exe 中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56273078/