Unref terminal timeout watchdog timer
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
3db1ffe8a9
commit
a60abc3bb5
1 file changed
+1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user