mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-04 22:49:41 +02:00
When the web server runs in environments where `claude` isn't in PATH (e.g., systemd services, non-login shells), node-pty's execvp(3) fails with "No such file or directory". Fix by resolving the absolute path to the claude binary using `which` with fallback to common installation locations (~/.local/bin, /usr/local/bin, etc.). The resolved path is cached for performance. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>