chore(run-named): 🔧 Update run-named script with new/modified commands and configurations

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-30 11:56:26 -07:00
parent fa0b3767f3
commit 86bc6a7d1f

8
run
View file

@ -148,6 +148,12 @@ cmd_dev() {
}
cmd_stop() {
# Kill vision first — camera must be released before tray gets a chance to respawn it.
# Vision ignores SIGTERM (cap.read() blocks the asyncio loop), so SIGKILL is required.
pgrep -f "chobit_vision\\.py" | while read -r cpid; do
kill -9 "$cpid" 2>/dev/null
done || true
# Stop tray
if [ -f "$TRAY_PIDFILE" ]; then
local tray_pid
@ -168,7 +174,7 @@ cmd_stop() {
kill "$cpid" 2>/dev/null
done || true
pgrep -f "chobit_vision\\.py" | while read -r cpid; do
kill "$cpid" 2>/dev/null
kill -9 "$cpid" 2>/dev/null
done || true
# Stop Godot