Commit 18e9c85
Fix nodejs-mobile integration: override process.exit to prevent abort
Claude Code calls process.exit(1) during initialization (e.g., when
not logged in), which kills the entire Node.js runtime embedded in iSH.
Override process.exit in bootstrap to prevent this.
Also added exit trace logging to /tmp/exit-trace.txt for debugging.
Result: Claude Code CLI loads successfully inside iSH on ARM64 iOS.
Status: LOADED (with Intl warning caught as uncaughtException).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent aee0bd4 commit 18e9c85
3 files changed
Lines changed: 15 additions & 1627 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | | - | |
4 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
This file was deleted.
This file was deleted.
0 commit comments