If you are on your due date or very close to it, having a a spicy dish such curry or chilli, stimulates your bowel and clears your systems, this then can bring on your labour and the chance of pooing is reduced.
99% of women do poo during labour and because it isnt realy spoken about or mentioned in books and magazines, women feel embarrassed but dont it is all part of the process