Since I'm asking questions, here's another one. I understand how to use spawnv() to run another executable under Windows, but the documentation says you can return the program's exit code by using the P_WAIT mode. How or where do I access that return code? Is it dependent upon the program executed, or is it controlled by Python? TIA - Mark