Skip to content

Fix spawn error handling - #19

Merged
cocoa-xu merged 2 commits into
mainfrom
cx/fix
May 25, 2026
Merged

Fix spawn error handling#19
cocoa-xu merged 2 commits into
mainfrom
cx/fix

Conversation

@cocoa-xu

Copy link
Copy Markdown
Owner

Summary

  • return structured errors when Unix spawn fails instead of crashing the GenServer call
  • preserve module on_exit callbacks supplied at spawn time and align callback specs/docs
  • harden Unix NIF read/write/error paths and make native source changes trigger rebuilds
  • replace the placeholder test with focused ExPTY behavior coverage

Tests

  • mix format --check-formatted
  • mix compile --warnings-as-errors
  • mix test

cocoa-xu added 2 commits May 25, 2026 12:46
# Conflicts:
#	c_src/unix/pty.cpp
#	lib/expty.ex
#	test/empty_test.exs
@cocoa-xu
cocoa-xu merged commit 556b2ab into main May 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant