pyjfuzz/core/pjf_process_monitor.py
def shutdown(self, *args):
        """
        Shutdown the running process and the monitor
        """
        try:
            self._shutdown()
            if self.process:
                self.process.wait()
                self.process.stdout.close()
                self.process.stdin.close()
                self.process.stderr.close()
            self.finished = True
            self.send_testcase('', '127.0.0.1', self.config.ports["servers"]["TCASE_PORT"])
            self.logger.debug("[{0}] - PJFProcessMonitor successfully completed".format(time.strftime("%H:%M:%S")))
        except Exception as e:
            raise PJFBaseException(e.message if hasattr(e, "message") else str(e))
def shutdown(self, *args):
        """
        Shutdown the running process and the monitor
        """
        try:
            self._shutdown()
            if self.process:
                self.process.wait()
                self.process.stdout.close()
                self.process.stdin.close()
                self.process.stderr.close()
            self.finished = True
            self.send_testcase('', '127.0.0.1', self.config.ports["servers"]["TCASE_PORT"])
            self.logger.debug("[{0}] - PJFProcessMonitor successfully completed".format(time.strftime("%H:%M:%S")))
        except Exception as e:
            raise PJFBaseException(e.message if hasattr(e, "message") else str(e))
Shutdown the running process and the monitor