changeset 4625:eaf87cd19337

Work around heisenbug in Popen3.__del__
author Brendan Cully <brendan@kublai.com>
date Mon, 18 Jun 2007 14:52:31 -0700
parents 23d9f0e66711
children d4e4d0f4fba4
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Mon Jun 18 12:39:43 2007 -0700
+++ b/mercurial/util.py	Mon Jun 18 14:52:31 2007 -0700
@@ -161,7 +161,7 @@
 
 def pipefilter(s, cmd):
     '''filter string S through command CMD, returning its output'''
-    (pout, pin) = popen2.popen2(cmd, -1, 'b')
+    (pin, pout) = os.popen2(cmd, 'b')
     def writer():
         try:
             pin.write(s)