I'm using PyInstaller to turn two scripts into one executable file, one of which calls the other. The issue I'm having is I can't figure out how to bundle the two scripts and still let them reference each other:
The code that causes the issue is that one script, script1.py
contains:
subprocess.call(['gksudo','python script2.py'])
This works fine when I run the scripts normally, but once they're packaged in PyInstaller I don't know how to make the call work.