We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a7d105 + 80f272e commit be2dc40Copy full SHA for be2dc40
runmanager/__main__.py
@@ -3483,7 +3483,8 @@ def send_to_runviewer(self, run_file):
3483
# Runviewer not running, start it:
3484
if os.name == 'nt':
3485
creationflags = 0x00000008 # DETACHED_PROCESS from the win32 API
3486
- subprocess.Popen([sys.executable, '-m', 'runviewer'],
+ scripts_dir = desktop_app.environment.get_scripts_dir('runviewer')
3487
+ subprocess.Popen([str(scripts_dir / 'runviewer-gui')],
3488
creationflags=creationflags, stdout=None, stderr=None,
3489
close_fds=True)
3490
else:
0 commit comments