4

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.

Community
  • 1
  • 1
ellaRT
  • 1,346
  • 2
  • 16
  • 39

1 Answers1

5

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.

kotlet schabowy
  • 918
  • 1
  • 7
  • 18