Unref terminal timeout watchdog timer

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 00:24:54 +00:00
1 parent 3db1ffe8a9
commit a60abc3bb5
1 file changed
+1
+1
View File
@@ -282,6 +282,7 @@ async function runTerminalCommand(parsed: z.infer<typeof terminalCommandInputSch
}
}, 1_000).unref();
}, parsed.timeoutMs ?? 30_000);
timeout.unref();
child.stdout?.on("data", (chunk: Buffer) => {
stdout += chunk.toString();