Skip to content

Commit 3b9e99e

Browse files
committed
Emscripten workflow
1 parent 4f78456 commit 3b9e99e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/bootstrap_emscripten.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def log(msg: str) -> None:
2929

3030

3131
def run(cmd, cwd=None) -> None:
32-
result = subprocess.run(cmd, cwd=cwd)
32+
# 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)
3334
if result.returncode != 0:
3435
raise SystemExit(result.returncode)
3536

0 commit comments

Comments
 (0)