如何使用pyinstaller禁止多次执行

时间:2019-08-20 08:35:55

标签: python pyinstaller

我想知道如何禁止使用pyinstaller多次执行

我用来安装exe的命令是

pyinstaller -w -F --hidden-import "babel.numbers" --icon=images/look.ico App.py

知道这很好,但是当多次执行同一应用程序的许多实例时,将同时启动。

我想让一个应用程序实例甚至多次运行exe

0 个答案:

没有答案