# HG changeset patch # User Matt Mackall # Date 1241464953 18000 # Node ID edd676eae7d7835e238e7bec6ee09f2b90007b1b # Parent 9542f4c3fa1bcb3b1d6fd5c236f265e999d8bd0d util: kill unused Popen3 diff -r 9542f4c3fa1b -r edd676eae7d7 mercurial/util.py --- 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."""