feat(cli): add Bun runtime support for ripgrep and CLI spawning

Replace hardcoded 'node' commands with process.execPath to support
Bun runtime alongside Node.js. Add runtime detection and entrypoint
resolution for Bun. Update documentation to reflect multi-runtime support.
This commit is contained in:
weishu
2025-12-20 16:03:51 +08:00
parent 05c2cbb724
commit 80725a2d34
3 changed files with 37 additions and 23 deletions
+1 -1
View File
@@ -30,4 +30,4 @@ try {
} catch (error) {
console.error('Ripgrep error:', error.message);
process.exit(1);
}
}