Skip to content

Handle ENOSYS subprocess errors - #110

Merged
sheredom merged 1 commit into
mainfrom
add-enosys-error-handling
Aug 9, 2026
Merged

Handle ENOSYS subprocess errors#110
sheredom merged 1 commit into
mainfrom
add-enosys-error-handling

Conversation

@sheredom

@sheredom sheredom commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • add subprocess_error_not_supported as a portable create error
  • map POSIX ENOSYS to the new error
  • return the new error when custom working directories are unavailable while preserving errno == ENOSYS
  • document and test the behavior

Testing

  • standard test suite
  • AddressSanitizer test suite
  • UndefinedBehaviorSanitizer test suite
  • targeted unsupported-CWD tests with SUBPROCESS_HAVE_CWD=0 (all supported C/C++ language modes)

馃 Conjured by AI via pi.dev using gpt-5.6-sol

馃 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6-sol
@sheredom
sheredom merged commit 9ce0d70 into main Aug 9, 2026
24 checks passed
@sheredom
sheredom deleted the add-enosys-error-handling branch August 9, 2026 13:26
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