publish update.py
This commit is contained in:
parent
f0609dbd2d
commit
2b90438d62
1 changed files with 3 additions and 1 deletions
|
|
@ -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")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue