diff --git a/update.py b/update.py index 42ee1f1..9bfafaf 100644 --- a/update.py +++ b/update.py @@ -201,7 +201,9 @@ def _kill_scripts(names): def _start_script(name): if not WIN: return - ps(f"Start-Process pythonw -ArgumentList '\"{os.path.join(HERE, name)}\"' " + # full pythonw path — bare 'pythonw' isn't on PATH in a scheduled-task / SSH context, + # so relying on PATH silently launches nothing. + ps(f"Start-Process '{pythonw()}' -ArgumentList '\"{os.path.join(HERE, name)}\"' " f"-WorkingDirectory '{HERE}' -WindowStyle Hidden")