From bfbcd7a1ee469431971472f13e7d46bd5a8c6a93 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 24 Oct 2026 20:49:15 +0200 Subject: [PATCH] stub-blender: the hung export's grandchild logs its pid Co-Authored-By: Claude Opus 5.5 --- scripts/fixtures/stub-blender.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fixtures/stub-blender.mjs b/scripts/fixtures/stub-blender.mjs index 2062ce9..0fb6ac8 100755 --- a/scripts/fixtures/stub-blender.mjs +++ b/scripts/fixtures/stub-blender.mjs @@ -28,7 +28,7 @@ console.error(`stub-blender-stderr ${clip}`); if (clip.startsWith("fail")) process.exit(1); if (clip.startsWith("silent")) process.exit(0); if (clip.startsWith("hang")) { - spawn(process.execPath, ["-e", `require('fs').appendFileSync(${JSON.stringify(log)}, 'grandchild ' + process.pid + '\n'); setInterval(() => {}, 1000)`], { stdio: "ignore" }); + spawn(process.execPath, ["-e", `require('fs').appendFileSync(${JSON.stringify(log)}, 'grandchild ' + process.pid + '\\n'); setInterval(() => {}, 1000)`], { stdio: "ignore" }); process.on("SIGTERM", () => {}); setInterval(() => {}, 1000); } else {