diff -r 874712506b07 -r c31ce080eb75 hgext/convert/common.py --- 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