I've got IBS or something similar (currently under investigation), meaning that I'll randomly almost shit my pants if I can't get on a toilet within seconds of noticing it coming up.
The only way to have a peaceful /out/ing is to not eat past noon on the day before and before afternoon on the day itself. Even then it's a gamble because I still often shit water and blood in the morning and into noon on an empty stomach.
I always bring TP, rubber gloves, hand sanitizer and a sealable bag with me to be prepared if it happens.

Picrel is me trying to find a spot to shit bloody diarrhea at 2000m altitude under extreme pressure.