models.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:knp-utils-py 作者: Kensuke-Mitsuzawa 项目源码 文件源码
def restart_process(self):
        """"""
        # type: ()->None
        if not self.option is None:
            command_plus_option = self.unix_command + " " + self.option
        else:
            command_plus_option = self.unix_command

        self.process_analyzer.kill(sig=9)
        self.process_analyzer = pexpect.spawnu(command_plus_option)
        self.process_id = self.process_analyzer.pid
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号