Secure them in an enclosed space and vent the air outside. Or you could use something like an Ozium dispenser set on heavy mode to sanitize the air, thus eliminating the smell.
Keep in mind what I said is only my theory. I'll need an experienced grower to back me up on that.