stub-blender: the hung export's grandchild logs its pid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f38f420df1
commit
bfbcd7a1ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue