def watch_process(self):
"""
Watcher thread.
This one relaunches airodump eatch time it dies until
we call stop()
"""
try:
psutil.wait_procs([psutil.Process(self._proc.pid)],
callback=self.start)
except psutil. NoSuchProcess:
pass
评论列表
文章目录