We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f78456 commit 3b9e99eCopy full SHA for 3b9e99e
1 file changed
tools/bootstrap_emscripten.py
@@ -29,7 +29,8 @@ def log(msg: str) -> None:
29
30
31
def run(cmd, cwd=None) -> None:
32
- result = subprocess.run(cmd, cwd=cwd)
+ # Route subprocess stdout/stderr to stderr so stdout remains clean for env captures.
33
+ result = subprocess.run(cmd, cwd=cwd, stdout=sys.stderr, stderr=sys.stderr, text=True)
34
if result.returncode != 0:
35
raise SystemExit(result.returncode)
36
0 commit comments