From 9dc2a6921cd47fde2f43bf534d9858c775f3464f Mon Sep 17 00:00:00 2001 From: Jonathan Guyer Date: Wed, 4 Oct 2023 16:19:43 -0400 Subject: [PATCH] Restore `shell=True` --- ntd2d/ntd2d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntd2d/ntd2d.py b/ntd2d/ntd2d.py index 344f4bc..8907eff 100755 --- a/ntd2d/ntd2d.py +++ b/ntd2d/ntd2d.py @@ -21,7 +21,7 @@ def main(): if pre_build_command != "": with gha_utils.group("Executing pre-build-command", use_subprocess=True): gha_utils.debug(f"pre-build-command: {pre_build_command}", use_subprocess=True) - subprocess.run(pre_build_command, check=True) + subprocess.run(pre_build_command, shell=True, check=True) with gha_utils.group("Build HTML", use_subprocess=True): build_command = os.environ['INPUT_BUILD-HTML-COMMAND']