From d0d369e34fa1767889ec817315e909c2db081ad9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 20 Nov 2020 12:58:17 +0100 Subject: [PATCH] Looks like we need shell=True on Windows to do things like run\tests --- cdist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist b/cdist index c9f15a0..516dcad 100755 --- a/cdist +++ b/cdist @@ -257,7 +257,7 @@ def rmtree(a): def command(c): log_normal(c) try: - r = subprocess.run(shlex.split(c)) + r = subprocess.run(shlex.split(c), shell=True) if r.returncode != 0: raise Error(f'command {c} failed ({r.returncode})') except Exception as e: -- 2.30.2