I tried that with an old mayonnaise jar years ago. Was having some really, really rancid farts one afternoon -- so bad they were actually making me gag a little and I wanted my wife to smell it but she was at work so I found an old jar in the garage and pulled off my pants and released a carpet bomb right into the jar and screwed the lid on real fast. She got home about an hour later and ran up to her all excited and said I wanted her to smell this and flipped the lid off and jammed the jar under her nose ... then she puked all over the carpet and ran to the bathroom gagging. I was so happy! My fart actually make someone vomit -- but wait, it seems that there was a glob of old, moldy mayonnaise in the bottom of the jar and that's what made her ralph.

So I don't know the answer to your question --- but it would be joyous it it worked!