From 06735c07d0beb5c8737f406157369d8d9998cdd2 Mon Sep 17 00:00:00 2001 From: Ryan Clary <9618975+mrclary@users.noreply.github.com> Date: Tue, 15 Apr 2025 20:43:31 -0700 Subject: [PATCH] Fix issue where process failed to start on Windows. The subprocess command should not use "start" because this will launch another cmd window. The appropriate command is "cmd". --- src/spyder_updater/gui/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spyder_updater/gui/updater.py b/src/spyder_updater/gui/updater.py index 1bcb70a..38076fc 100644 --- a/src/spyder_updater/gui/updater.py +++ b/src/spyder_updater/gui/updater.py @@ -416,7 +416,7 @@ def start_install(self): # Final command assembly if os.name == 'nt': - cmd = ['start', '"Update Spyder"'] + sub_cmd + cmd = ['cmd', '/c'] + sub_cmd elif sys.platform == "darwin": cmd = [shutil.which("zsh")] + sub_cmd else: