rework mechanism for posix_spawnp calling posix_spawn