Skip to content

Commit be2dc40

Browse files
Merge pull request #95 from chrisjbillington:use-runviewer-launcher
Fix issue #92
2 parents 6a7d105 + 80f272e commit be2dc40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runmanager/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3483,7 +3483,8 @@ def send_to_runviewer(self, run_file):
34833483
# Runviewer not running, start it:
34843484
if os.name == 'nt':
34853485
creationflags = 0x00000008 # DETACHED_PROCESS from the win32 API
3486-
subprocess.Popen([sys.executable, '-m', 'runviewer'],
3486+
scripts_dir = desktop_app.environment.get_scripts_dir('runviewer')
3487+
subprocess.Popen([str(scripts_dir / 'runviewer-gui')],
34873488
creationflags=creationflags, stdout=None, stderr=None,
34883489
close_fds=True)
34893490
else:

0 commit comments

Comments
 (0)