(self, id)
Shutdown a kernel by UUID
Shutdown a kernel by UUID
Shutdown a kernel by UUID
def _cmd_stpk(self, id):
        """Shutdown a kernel by UUID"""
        while True:
            try:
                kernelUUID = read_string(self.conn)
                break
            except socket.timeout:
                pass

        self.stopKernel(kernelUUID)

        with self.send_lock:
            write_bytes(self.conn, jediSocketServer._STPK)
            write_string(self.conn, id)
def _cmd_stpk ( self , id ) : while True : try : kernelUUID = read_string ( self . conn ) break except socket . timeout : pass self . stopKernel ( kernelUUID ) with self . send_lock : write_bytes ( self . conn , jediSocketServer . _STPK ) write_string ( self . conn , id )