hgext/convert/common.py
changeset 39826 c31ce080eb75
parent 39425 2dd9519b8c8a
child 39836 f1d6021453c2
--- a/hgext/convert/common.py	Fri Sep 21 21:14:27 2018 -0400
+++ b/hgext/convert/common.py	Sun Sep 23 00:47:04 2018 -0400
@@ -402,7 +402,8 @@
 
     def _run(self, cmd, *args, **kwargs):
         def popen(cmdline):
-            p = subprocess.Popen(cmdline, shell=True, bufsize=-1,
+            p = subprocess.Popen(pycompat.rapply(procutil.tonativestr, cmdline),
+                                 shell=True, bufsize=-1,
                                  close_fds=procutil.closefds,
                                  stdout=subprocess.PIPE)
             return p