Skip to content

Launching runviewer briefly opens a million windows on Windows 10 #92

Description

@philipstarkey

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).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions