标签: python-3.x subprocess
def send( self, sendStr, detailedTrace=False ): trace = t4 if detailedTrace else t1 trace( self.tag_, 'send: %r' %( sendStr )) self.subp_.stdin.write( sendStr ) self.subp_.stdin.flush()