publish update.py

This commit is contained in:
brockdarnold 2026-06-15 03:48:25 +00:00
parent f0609dbd2d
commit 2b90438d62

View file

@ -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")