mercurial/util.py
changeset 8299 edd676eae7d7
parent 8297 7f27e69dd27f
child 8302 d2ad8c066676
--- a/mercurial/util.py	Mon May 04 14:21:43 2009 -0500
+++ b/mercurial/util.py	Mon May 04 14:22:33 2009 -0500
@@ -48,16 +48,6 @@
                          stdin=subprocess.PIPE, stdout=subprocess.PIPE,
                          stderr=subprocess.PIPE)
     return p.stdin, p.stdout, p.stderr
-def Popen3(cmd, capturestderr=False, bufsize=-1):
-    stderr = capturestderr and subprocess.PIPE or None
-    p = subprocess.Popen(cmd, shell=True, bufsize=bufsize,
-                         close_fds=closefds,
-                         stdin=subprocess.PIPE, stdout=subprocess.PIPE,
-                         stderr=stderr)
-    p.fromchild = p.stdout
-    p.tochild = p.stdin
-    p.childerr = p.stderr
-    return p
 
 def version():
     """Return version information if available."""