Ticket #6542: t6542.diff

File t6542.diff, 487 bytes (added by Alex Gaynor, 7 years ago)
  • twisted/internet/process.py

     
    676676
    677677            self._fork(path, uid, gid, executable, args, environment, fdmap=fdmap)
    678678        except:
    679             map(os.close, _openedPipes)
     679            for p in _openedPipes:
     680                os.close(p)
    680681            raise
    681682
    682683        # we are the parent process: