예제 #1
0
파일: process.py 프로젝트: compbrain/madcow
 def writeSomeData(self, data):
     """
     Write some data to the open process.
     """
     rv = fdesc.writeToFD(self.fd, data)
     if rv == len(data) and self.enableReadHack:
         self.startReading()
     return rv
예제 #2
0
파일: process.py 프로젝트: compbrain/madcow
 def writeSomeData(self, data):
     """
     Write some data to the open process.
     """
     return fdesc.writeToFD(self.fd, data)