diff mercurial/utils/procutil.py @ 46030:2cf61e66c6d0

merge with stable
author Augie Fackler <augie@google.com>
date Thu, 03 Dec 2020 14:15:39 -0500
parents 89a2afe31e82 fdd54a876213
children 81c1f5d1801f
line wrap: on
line diff
--- a/mercurial/utils/procutil.py	Wed Dec 02 12:33:51 2020 -0800
+++ b/mercurial/utils/procutil.py	Thu Dec 03 14:15:39 2020 -0500
@@ -656,7 +656,7 @@
                 stdin.seek(0)
 
             p = subprocess.Popen(
-                tonativestr(script),
+                pycompat.rapply(tonativestr, script),
                 shell=shell,
                 env=tonativeenv(env),
                 close_fds=True,