def kill(self):
print "Killing dot11decrypt subprocess and closing tap interface"
try:
self.proc.kill()
subprocess32.Popen(['sudo', 'ip', 'link', 'delete', self.tap])
print "Successfully killed this subprocess"
except OSError as e:
print e
print "Oops. Can't seem to kill the process. Are you running as root?"
评论列表
文章目录