<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stop_process(self):
 """ Stops the child process. """

        self._process.terminate()
        if not self._process.waitForFinished(100):
            self._process.kill()