From 2b90438d62af66e2791a64b9578f91725d7ec2ec Mon Sep 17 00:00:00 2001 From: brockdarnold Date: Mon, 15 Jun 2026 03:48:25 +0000 Subject: [PATCH] publish update.py --- update.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")