properly initialize process spawn flags to zero