示例#1
0
文件: events.py 项目: yiu31802/ave
 def close_fds(self, exclude):
     if self.pipe:
         exclude.append(self.pipe.w)
     Process.close_fds(self, exclude)
示例#2
0
 def close_fds(self, exclude=[]):
     exclude.append(self.args[1].fileno())
     Process.close_fds(self, exclude)
示例#3
0
 def close_fds(self, exclude):
     if self.socket:
         exclude.append(self.socket.fileno())
     Process.close_fds(self, exclude)
示例#4
0
文件: config.py 项目: yiu31802/ave
 def close_fds(self, exclude):
     Process.close_fds(self, exclude) # don't change default behavior
示例#5
0
文件: broker.py 项目: yiu31802/ave
 def close_fds(self, exclude):
     exclude.extend([self.args[1].w, self.args[2].r])
     Process.close_fds(self, exclude)
示例#6
0
文件: broker.py 项目: yiu31802/ave
 def close_fds(self, exclude):
     exclude.append(self.args[1].w)
     Process.close_fds(self, exclude)
示例#7
0
文件: daemon.py 项目: yiu31802/ave
 def close_fds(self, exclude):
     exclude.append(self.stdin.fileno())
     exclude.append(self.stdout.fileno())
     exclude.append(self.stderr.fileno())
     exclude.append(self.log_file.fileno())
     Process.close_fds(self, exclude)