{"version":"2.1.10","anchor":"improved-command-path-detection","canonical_anchor":"improved-command-path-detection","heading":"Improved Command Path Detection","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.10\/e\/improved-command-path-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.10","markdown":"### Improved Command Path Detection\n\n**What**\n\nClaude Code now uses native `which` (Unix) or `where.exe` (Windows) commands instead of the previous `findActualExecutable` approach for detecting executable paths.\n\n**Details**\n\n- More efficient and reliable command detection\n- Uses `Bun.which()` when running under Bun runtime\n- Falls back to shell-based `which`\/`where.exe` on other runtimes\n- Includes both async (`GC()`) and sync (`d1Q()`) variants\n\n**Evidence**\n\n`W94()` at line 27476 (new which-based implementation, calls `where.exe` on Windows, `which` on Unix)"}