signal was checking for NULL instead of SIG_ERR there is no need to do post fork waiting in posix_spawn, we just have to exit with 127 on error
Apparently GCC wants to use posix_spawn now that it is available, this patch adds support for the missing fields. POSIX Issue 8 did add some fields that are not supported here
This does not support file_actions or attributes