Have to create pager Popen object before the translator Popen object in PatchStreamForwarder, otherwise the `stdin=subprocess.PIPE` would cause trouble to the translator pipe (select() never see EOF after input stream ended), most likely python bug 12607 (http://bugs.python.org/issue12607) which was fixed in python 2.7.3.
|
|
||
251 |
|
251 |
|
252 |
|
252 |
|
253 |
|
253 |
|
254 |
|
|
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
|
259 |
|
|
|
260 |
|
|
|
261 |
|
254 |
|
262 |
|
255 |
|
263 |
|
256 |
|
|
|
||
267 |
|
260 |
|
268 |
|
261 |
|
269 |
|
262 |
|
270 |
|
|
|
271 |
|
263 |
|
272 |
|
264 |
|
273 |
|
265 |
|
274 |
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
|
|
|
278 |
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
266 |
|
284 |
|
267 |
|
285 |
|
268 |
|
|
|
||
607 |
|
590 |
|
608 |
|
591 |
|
609 |
|
592 |
|
|
593 |
|
|
|
594 |
|
|
|
595 |
|
|
|
596 |
|
|
|
597 |
|
|
|
598 |
|
|
|
599 |
|
|
|
600 |
|
|
|
601 |
|
|
|
602 |
|
|
|
603 |
|
|
|
604 |
|
|
|
605 |
|
|
|
606 |
|
|
|
607 |
|
|
610 |
|
608 |
|
611 |
|
609 |
|
612 |
|
610 |
|
613 |
|
611 |
|
614 |
|
612 |
|
615 |
|
|
|
616 |
|
|
|
617 |
|
|
|
618 |
|
613 |
|
619 |
|
614 |
|
620 |
|
615 |
|