Files
claude-hud/scripts
Jarrod Watts 2e85c4f5c9 fix(scripts): prevent FIFO creation race condition
- Use atomic mkfifo with fallback check in capture-event.sh
- Only remove non-pipe files before mkfifo (preserve existing pipes)
- Set explicit permissions (600) on new FIFOs
- Improve pgrep pattern to avoid false matches in session-start.sh

Prevents silent data loss when multiple events fire simultaneously.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 12:44:03 +11:00
..