Files
VRCT/task_kill.py
misyaguziya 7ffef350fe [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
2025-09-08 16:30:58 +09:00

12 lines
256 B
Python

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