I use pycharm to develop a project called `deploy` on windows10. `deploy` contains two program files with the same content and different names: `main.py` and `deploy.py`. I used pyinstaller -F to package these two files separately to get `main.exe` and `deploy.exe`, where `main.exe` can run normally, but `deploy.exe` crashes after running. There is no error message when running `deploy.exe` in powershell, just exit directly.
I have tried to recreate venv and other methods to clean up the environment, and simplify the code to output only one line of characters, but the result is the same.