Subprocess in PyInstaller-built exe can’t find or run Python script
I am building a Python project into a standalone executable using PyInstaller, and I’m encountering an issue when trying to run a Python script (fec.py) as a subprocess from the main script (main.py). Everything works fine when I run the program in my IDE, but when I compile it to an .exe, the subprocess call to fec.py fails and nothing happens