Fix usage of posix_spawn

Reported by:	jilles