equal
deleted
inserted
replaced
85 self.ui.debug('running %s\n' % cmd) |
85 self.ui.debug('running %s\n' % cmd) |
86 cmd = util.quotecommand(cmd) |
86 cmd = util.quotecommand(cmd) |
87 |
87 |
88 # while self.subprocess isn't used, having it allows the subprocess to |
88 # while self.subprocess isn't used, having it allows the subprocess to |
89 # to clean up correctly later |
89 # to clean up correctly later |
90 self.pipeo, self.pipei, self.pipee, self.subprocess = util.popen4(cmd) |
90 # |
|
91 # no buffer allow the use of 'select' |
|
92 # feel free to remove buffering and select usage when we ultimately |
|
93 # move to threading. |
|
94 sub = util.popen4(cmd, bufsize=0) |
|
95 self.pipeo, self.pipei, self.pipee, self.subprocess = sub |
91 |
96 |
92 self.pipei = util.bufferedinputpipe(self.pipei) |
97 self.pipei = util.bufferedinputpipe(self.pipei) |
93 |
98 |
94 # skip any noise generated by remote shell |
99 # skip any noise generated by remote shell |
95 self._callstream("hello") |
100 self._callstream("hello") |