Skip to content

Conversation

@emkey1
Copy link
Owner

@emkey1 emkey1 commented Aug 23, 2025

Summary

  • Provide vmExitWithCleanup to restore terminal state and optionally pause before exiting
  • Route all front-end programs and the VM halt builtin through vmExitWithCleanup
  • Replace direct exit calls with EXIT_FAILURE_HANDLER for consistent failure handling

Testing

  • cmake -S . -B build
  • cmake --build build
  • ctest --test-dir build (fails: clike_tests)

https://chatgpt.com/codex/tasks/task_e_68a94b4ab8d0832a80f6ebcf4e18d599

@emkey1 emkey1 merged commit 3ab7c80 into devel Aug 23, 2025
1 check passed
@emkey1 emkey1 deleted the codex/standardize-exit-paths-in-program branch August 23, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants