ellaRT
ellaRT

Reputation: 1366

How to eliminate two instances of .exe compiled by PyInstaller

I compiled a python program using PyInstaller. But when I execute the .exe file on a client, two instances of the .exe is running on the task manager.

enter image description here

How can i eliminate the other .exe? This question didn't have any clear answer.

I'm using python 2.7 and I'm running the .exe on Windows XP.

Upvotes: 4

Views: 2881

Answers (1)

kotlet schabowy
kotlet schabowy

Reputation: 918

I recommend reading this section: https://pythonhosted.org/PyInstaller/#id74

Bootloader The bootloader prepares everything for running Python code. It begins the setup and then returns itself in another process. This approach of using two processes allows a lot of flexibility and is used in all bundles except one-folder mode in Windows. So do not be surprised if you will see your bundled app as two processes in your system task manager.

Upvotes: 5

Related Questions