Exemplo n.º 1
0
 def connect(self, cachecommand):
     if self.pipeo:
         raise error.Abort(_("cache connection already open"))
     self.pipei, self.pipeo, self.pipee, self.subprocess = \
         procutil.popen4(cachecommand)
     self.connected = True
Exemplo n.º 2
0
 def connect(self, cachecommand):
     if self.pipeo:
         raise error.Abort(_("cache connection already open"))
     self.pipei, self.pipeo, self.pipee, self.subprocess = \
         procutil.popen4(cachecommand)
     self.connected = True