From 88a4cad04cfbfa5b3226b16811ed93f5efe3aea9 Mon Sep 17 00:00:00 2001 From: Michael Hines Date: Fri, 10 Jun 2022 08:00:52 -0700 Subject: [PATCH] subprocess.Popen need shell=True on windows. --- modeldb/modelrun.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modeldb/modelrun.py b/modeldb/modelrun.py index e6bf8c7..afcae02 100644 --- a/modeldb/modelrun.py +++ b/modeldb/modelrun.py @@ -94,6 +94,7 @@ def append_log(model, model_sink, text): def run_commands(model, cmds, work_dir=None): out, _ = subprocess.Popen( cmds, + shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True,