When launching runviewer from runmanager on Windows 10, I'm getting a million windows very briefly showing up one by one. Basically I see a lot of flashes on my main desktop and in the taskbar. They continue even after the splash screen for runviewer has appeared.
This appears to be due to the use of the DETACHED_PROCESS creation flag in combination with launching runviewer with python -m runviewer. I have replicated it by launching a subprocess via an interactive Python terminal so it is not caused by anything else happening in runmanager.
Once solution is to launch runviewer from runmanager using ['runviewer-gui'] rather than [sys.executable, '-m', 'runviewer'] but I'm not entirely certain if that executable is always in the path or not (it is for my dev install on conda).
When launching runviewer from runmanager on Windows 10, I'm getting a million windows very briefly showing up one by one. Basically I see a lot of flashes on my main desktop and in the taskbar. They continue even after the splash screen for runviewer has appeared.
This appears to be due to the use of the
DETACHED_PROCESScreation flag in combination with launching runviewer withpython -m runviewer. I have replicated it by launching a subprocess via an interactive Python terminal so it is not caused by anything else happening in runmanager.Once solution is to launch runviewer from runmanager using
['runviewer-gui']rather than[sys.executable, '-m', 'runviewer']but I'm not entirely certain if that executable is always in the path or not (it is for my dev install on conda).