[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:
12
task_kill.py
Normal file
12
task_kill.py
Normal 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
|
||||
Reference in New Issue
Block a user