Pooping with baby?

How do y'all go poop when your home alone with your baby? If my baby is in a mood I can't even put her down in a bouncy seat so I end up swaying her on my legs while I try to go. Is that ok?