def close_fds(self, exclude): if self.pipe: exclude.append(self.pipe.w) Process.close_fds(self, exclude)
def close_fds(self, exclude=[]): exclude.append(self.args[1].fileno()) Process.close_fds(self, exclude)
def close_fds(self, exclude): if self.socket: exclude.append(self.socket.fileno()) Process.close_fds(self, exclude)
def close_fds(self, exclude): Process.close_fds(self, exclude) # don't change default behavior
def close_fds(self, exclude): exclude.extend([self.args[1].w, self.args[2].r]) Process.close_fds(self, exclude)
def close_fds(self, exclude): exclude.append(self.args[1].w) Process.close_fds(self, exclude)
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)