sound-guard: the rendering subprocess must not leave __pycache__ in dings-voices
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
797d67fc7c
commit
a7fc0b91b3
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ def render_all(tmp, neutral_dir):
|
|||
for ident in intended()["identities"]:
|
||||
steps.append((["node", str(TOOLS / "earcon-workshop" / "cli.mjs"), ident, str(tmp / "earcon" / ident)], None))
|
||||
for cmd, _ in steps:
|
||||
r = subprocess.run(cmd, capture_output=True, text=True, timeout=RENDER_TIMEOUT_S)
|
||||
r = subprocess.run(cmd, capture_output=True, text=True, timeout=RENDER_TIMEOUT_S, env={**os.environ, "PYTHONDONTWRITEBYTECODE": "1"})
|
||||
if r.returncode:
|
||||
raise GuardError(f"render step failed: {' '.join(cmd[:2])}\n{r.stderr[-STDERR_TAIL:]}")
|
||||
return tmp / "dings" / "out", tmp / "earcon"
|
||||
|
|
|
|||
Loading…
Reference in a new issue