Open take-cheeze opened 8 months ago
Hello @take-cheeze and thanks for the PR, were you able to test it on Linux and Windows?
I've tested in macOS. Maybe windows may have some trouble so I'll test it
Seems creationflags=subprocess.DETACHED_PROCESS
is required to open configure.py
and main.py
because with normal Popen
process will be also closed with the parent process.
Though this feature is only for windows...
I tested your new changes on Windows, but now when I click on "Save and run" from the configuration window it starts the main.py script in a new terminal window, whereas previously it started the script in background. Same thing when main.py is running on a tray icon right click > "Configure" it starts configure.py in a terminal, not in background. Do you see the same behavior on your machine?
I'm running it from Terminal app so it seems to be the difference
So that scripts like
main.py
is launched by same python executable used byconfigure.py