Skip to content

Fix Android builds by defaulting to fork/exec - #122

Merged
sheredom merged 2 commits into
mainfrom
fix/issue121-android-spawn-fallback
Oct 25, 2026
Merged

sheredom merged 2 commits into
mainfrom
fix/issue121-android-spawn-fallback

Conversation

@sheredom

@sheredom sheredom commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Default Android to the existing fork/exec implementation because Android lacks posix_spawn_file_actions_addchdir_np.
  • Preserve explicit SUBPROCESS_SPAWN_VIA_FORK overrides.

Fixes #121.

Validation

  • Regular subprocess_test passed.
  • No Android runtime validation was available.
  • Sanitizer test previously stalled.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-6.1-sol
@compilersEllie

Copy link
Copy Markdown

Works! Thank you so much!

@sheredom
sheredom merged commit dd28a9c into main Oct 25, 2026
40 of 41 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.

Android support: No posix_spawn_file_actions_addchdir_np

2 participants