tests/run-tests.py
changeset 52539 4f2bbad82e4b
parent 52538 8adfaa5ad484
child 52552 4dd9d5571408
--- a/tests/run-tests.py	Thu Dec 19 00:17:21 2024 +0100
+++ b/tests/run-tests.py	Thu Dec 19 00:18:33 2024 +0100
@@ -4127,9 +4127,10 @@
             "{hgmodulepolicy}",
         ]
         p = subprocess.Popen(
-            cmd,
+            " ".join(cmd),
             stdout=subprocess.PIPE,
             stderr=subprocess.PIPE,
+            shell=True,
         )
         out, err = p.communicate()
         if p.returncode != 0:
@@ -4152,9 +4153,10 @@
             "{hgmodules}",
         ]
         p = subprocess.Popen(
-            cmd,
+            " ".join(cmd),
             stdout=subprocess.PIPE,
             stderr=subprocess.PIPE,
+            shell=True,
         )
         out, err = p.communicate()
         if p.returncode != 0: