usePosixSpawn
By default, posix_spawn and posix_spawnp are always preferred when spawning processes, given that the necessary API availability is present (e.g. Android Native requires a device API of 28+, or 34+ if changing the process' working directory via changeDir). If API availability is not present, then an alternative implementation using fork and execve is fallen back to. This option allows you to skip over posix_spawn, regardless of its API availability, and go directly to the alternative implementation using fork and execve.
Default: true
Parameters
use
if true
, posix_spawn or posix_spawnp will be used, if available, with a fallback to using fork and execve. If false
, then the fork and execve implementation will always be used.