Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

Merge #214: fix(windows): agent processes keep running after the app quits

Chaitanya Giri19a93ba8d369
diff --cc src/main/pty.ts
index 5cdaa119,0fc7526a..35d557d6
--- a/src/main/pty.ts
+++ b/src/main/pty.ts
@@@ -3,9 -3,8 +3,9 @@@ import type { WebContents } from 'elect
import { existsSync, readFileSync, statSync } from 'node:fs';
import { delimiter, join, win32 } from 'node:path';
import { spawnSync } from 'node:child_process';
- import { ensureKilled } from './procKill';
+ import { ensureKilled, hardKillTree } from './procKill';
import { expandTilde } from './fs';
+import { buildPtyEnv } from './ptyEnv';
import { captureFromLoginShell, userShellPath } from './shellEnv';
/** APPEND the hive's bundled-node dir (`<HIVE_ROOT>/bin/runtime`, which holds a