mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-29 10:05:53 +00:00
**Platform-Optimized Strategy:** - **POSIX Systems** (Linux, macOS, FreeBSD): Use efficient kill(pid, 0) - **Windows Only**: Use gopsutil.PidExists() when kill() unavailable **Implementation:** - Primary: kill(pid, 0) on all POSIX platforms (most efficient) - Fallback: gopsutil only on Windows (where kill() doesn't exist) - No unnecessary overhead - each platform uses optimal method **Benefits:** - Maximum Performance: POSIX systems use native kill(pid, 0) - Windows Support: gopsutil provides Windows compatibility - Minimal Dependencies: gopsutil only loaded when needed - Platform Optimal: Each OS uses its most efficient method 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| config | ||
| ngrok | ||
| protocol | ||
| session | ||
| terminal | ||
| termsocket | ||