def execute(self):
        """Execute python script in other process.

        Raises:
            SurviveException: contains the error message of the script if it terminated before timeout
        """
        self.start()
        self.join(self.timeout)

        if self.is_alive():
            self.p.terminate()
            self.p.kill()  # kill -9
            self.join()
        else:
            # something unexpected happend here, this script was supposed to survive at least the timeout
            if len(self.err) > 0:
                output = u"STDOUT: \n\n\n" + self.out.decode('utf-8')
                output += u"\n\n\n STDERR: \n\n\n" + self.err.decode('utf-8')
                raise AssertionError(output)
Execute python script in other process.

        Raises:
            SurviveException: contains the error message of the script if it terminated before timeout
        
tests/case_script.py