The way the family does this is that I cook up my stuff first if gluten is going to be a problem, and then they cook theirs. Alternatively they’ve learned to eat brown rice pasta and corn based pasta. The objective is to keep contamination to a minimum.