def _devFDImplementation(self):
        dname = "/dev/fd"
        result = [int(fd) for fd in self.listdir(dname)]
        return result
Simple implementation for systems where /dev/fd actually works.
dataset/ETHPy150Open twisted/twisted/twisted/internet/process.py/_FDDetector._devFDImplementation