Use posix_spawn instead of Kernel.spawn