FWIIW in high altitude aviation where digestive gas could cause debilitating pain or even life threatening injury, the solution is to eat food that doesn't make you fart; usually steak and eggs. I'm sure the astronaut nutritionist types have this issue under control. People forget how many zillions of dollars went into the early space program to figure stuff like this out.