I am attempting to use execnet to start remote python sessions for a testing framework I am working on.  This framework will spawn a lot of remote gateways since I want each test to be run on its own process, a simpler and more clean approach imo.<br>

<br>Things work great for the first few tests but I have been noticing that python interpreters are being left around.  Well not really left around, but zombified and left for the OS to clean up.  This is undesirable since in the course of several seconds this app could potentially spawn 20 or so python interpreters, each one only 'alive' for about half a second.  I cannot wait around for the OS to kill the zombies.  <br>

<br>Is there someway I can remotely terminate a python interpreter through execnet?  <br><br>Currently, when the remote interpreter finishes his test I delete the gateway and channel instances from the host and I was hoping that would clean up the python instances on the remote server.  But that does not seem to be the case.<br>

<br>Thanks for any guidance.<br>