| ... | @@ -223,7 +223,14 @@ const makeTildeProviderFixtures = Effect.fn( | ... | @@ -223,7 +223,14 @@ const makeTildeProviderFixtures = Effect.fn( |
| 223 | " },", | 223 | " },", |
| 224 | ' }) + "\\n");', | 224 | ' }) + "\\n");', |
| 225 | "});", | 225 | "});", |
| 226 | "setInterval(() => {}, 1_000);", | 226 | "// Stay alive for follow-up control requests, but never outlive the", |
| | 227 | "// parent: the probe aborts the SDK without awaiting the child, so an", |
| | 228 | "// unconditional interval would strand this process until reboot.", |
| | 229 | "const keepAlive = setInterval(() => {}, 1_000);", |
| | 230 | 'lines.on("close", () => {', |
| | 231 | " clearInterval(keepAlive);", |
| | 232 | " process.exit(0);", |
| | 233 | "});", |
| 227 | "", | 234 | "", |
| 228 | ].join("\n"), | 235 | ].join("\n"), |
| 229 | ); | 236 | ); |