[Update] package.json: Add task-kill script to terminate VRCT-sidecar.exe before development builds

[Add] task_kill.py: Implement script to forcefully terminate VRCT-sidecar.exe
This commit is contained in:
misyaguziya
2025-09-08 16:30:58 +09:00
parent 83a61e2e87
commit 7ffef350fe
2 changed files with 15 additions and 2 deletions

12
task_kill.py Normal file
View File

@@ -0,0 +1,12 @@
import subprocess
# VRCT-sidecar.exe を強制終了
try:
subprocess.run(
["taskkill", "/IM", "VRCT-sidecar.exe", "/F"],
check=False,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL
)
except Exception:
pass