Files
VRCT/utils/task_kill.py

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