From ccc5acef8ede4ff429d6632ae96477ff4446b757 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 29 Mar 2013 01:22:36 -0700 Subject: [PATCH] Need to specify self.process or it crashes. --- test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test.py b/test.py index d8d64ac067..8ef91e3797 100755 --- a/test.py +++ b/test.py @@ -49,10 +49,9 @@ class Command(object): if thread.isAlive(): self.timeout = True if sys.version_info < (2, 6): - os.kill(process.pid, signal.SIGKILL) + os.kill(self.process.pid, signal.SIGKILL) else: - process.terminate() - self.process.terminate() + self.process.terminate() thread.join() # Test names are the C files without the .c extension.