Rafael Sachetto wrote: > os.system(command) > > or > > proc = popen2.Popen3(command) > proc.wait() I don't know about "cleanly terminat[ing] the command shell", but you should use the subprocess module now, not any of the other functions scattered around. --