I read it here and I couldn't believe it.
So can a person still fart after dying ?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Skeptics Stack Exchange is a question and answer site for scientific skepticism. It only takes a minute to sign up.Sign up to join this community
The answer is yes, it can happen after death, but only SHORTLY after death.
This is due to the contracting and expanding of the related muscles, which do not necessarily "shut down" immediately after death.
Two or three hours after death, rigor mortis sets in. This is a chemical stiffening of the muscles that prevents the kind of activity described above.
So the "window" doesn't last very long.