I mean this has also been a problem for fighter pilots as well. The "piddle packs" for F-16 pilots are implicared at least one crash due to the complexity of using them.
[1] https://www.latimes.com/archives/la-xpm-1991-03-23-me-542-st...
Surprised they don't just let them piss on the seat like the bike leg in triathlon
F16 pilot on radio with airliner.
Doing barrel roll, twist and speed up - radio to airliner „see buddy can you do that?”
Airliner „wait a moment” - some time passes nothing happens - airliner „hey buddy you seen that?” - f16 „what? Nothing happened” - airliner „I went to toilet on the back, took dump, made myself a coffee and strolled back to cockpit”.
Forget about pee, I always wondered about fighter pilots in one of those long, multi-hour flights, what happens if they really need to go number 2? I suppose they self-select as people without this kind of problems, but it can happen to anyone really.
I suppose in an emergency they just shit their pants, but I wonder what the ground crew says when they touch down.
To be fair they're pretty easy to use as long as you don't have to fly an airplane at the same time...
[1] (NSFW lyrics!) https://www.youtube.com/watch?v=jd9_RffdmBA