stop the process 是强制的,不会等待子进程结束 :return:
(self)
| 51 | raise |
| 52 | |
| 53 | def stop(self) -> None: |
| 54 | """ |
| 55 | stop the process |
| 56 | 是强制的,不会等待子进程结束 |
| 57 | :return: |
| 58 | """ |
| 59 | self.terminate() |
| 60 | self.join() |
| 61 | logger.info(f'stop script {self.config}') |
| 62 | |
| 63 | # def restart(self) -> None: |
| 64 | # """ |
no outgoing calls
no test coverage detected