Merge pull request #250 from rlane/killpg

kill entire process group in Node.terminate
This commit is contained in:
Bob
2013-12-14 12:36:32 -08:00
+1 -1
View File
@@ -184,7 +184,7 @@ class Node( object ):
def terminate( self ):
"Send kill signal to Node and clean up after it."
if self.shell:
os.kill( self.pid, signal.SIGKILL )
os.killpg( self.pid, signal.SIGKILL )
self.cleanup()
def stop( self ):