Hi,
Thanks for using this forum. I am here to help you.
During surgical procedures, certain complications may occur, and most often can be managed. The same is the case with your wife's condition. In a complication where feces are spilled, there may be an infection such as pertonitis and septicemia. These complications can often be controlled using antibiotics.
Although the occurrence of peritonitis and septicemia has been limited in recent times in the case of an appendectomy, once the infection is cleared with antibiotics, often there is no long term side effects.
Please do see your surgeon and physician for the proper diagnosis and treatment plan.
I wish your wife a speedy recovery and best of health in future.