diff --git a/runmanager/__main__.py b/runmanager/__main__.py index 1912adb..3eb7873 100644 --- a/runmanager/__main__.py +++ b/runmanager/__main__.py @@ -3483,7 +3483,8 @@ def send_to_runviewer(self, run_file): # Runviewer not running, start it: if os.name == 'nt': creationflags = 0x00000008 # DETACHED_PROCESS from the win32 API - subprocess.Popen([sys.executable, '-m', 'runviewer'], + scripts_dir = desktop_app.environment.get_scripts_dir('runviewer') + subprocess.Popen([str(scripts_dir / 'runviewer-gui')], creationflags=creationflags, stdout=None, stderr=None, close_fds=True) else: