"In Python, how do I know when a process is finished?",self.process.terminate()