From 38f11f1f55ba9b709ceb95173fae8610f06a6172 Mon Sep 17 00:00:00 2001 From: Alisa Sireneva Date: Sun, 25 Feb 2024 00:28:00 +0300 Subject: [PATCH] Try a simpler call to cpp --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 4d105a7..c2a3f18 100644 --- a/test.py +++ b/test.py @@ -37,9 +37,9 @@ def compile(source, target, blazingio): def compile(source, target, blazingio): subprocess.run([f"cl", source, "/I.", f"/DBLAZINGIO=\"{blazingio}\"", f"/Fe{target}", "/std:c++17", "/O2", "/EHsc", "/nologo", "/W2", "/WX"], check=True) if "GITHUB_RUN_ID" in os.environ: - os.environ["CPP"] = "msys2 -c \"exec cpp $*\" cpp" + os.environ["CPP"] = "msys2 -c cpp cpp" else: - os.environ["CPP"] = "C:\\msys64\\usr\\bin\\bash.exe -l -c \"exec cpp $*\" cpp" + os.environ["CPP"] = "C:\\msys64\\usr\\bin\\bash.exe -l -c cpp cpp" os.environ["MSYSTEM"] = "UCRT64" else: arch = platform.machine()