Merge pull request #250 from rlane/killpg
kill entire process group in Node.terminate
This commit is contained in:
+1
-1
@@ -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 ):
|
||||
|
||||
Reference in New Issue
Block a user