bpo-32705: Current Android does not have posix_spawn by yan12125 · Pull Request #5413 · python/cpython (original) (raw)
Isn't there a way to check the Android API level at build time? Per your comments on the issue, when running on P (API 28) it should be available.
If not, at least mention that P (API 28) contains the API in a comment here so someone can revisit this in the future.