From 4f1e4a2e7ac89abf2e9272161e2dfa152b8b69c0 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Tue, 24 Feb 2026 14:41:56 +0000 Subject: [PATCH] fix formatting in shell.ts Co-authored-by: Cursor --- mcp/shell.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mcp/shell.ts b/mcp/shell.ts index 7fbb4c8..12b5118 100644 --- a/mcp/shell.ts +++ b/mcp/shell.ts @@ -88,7 +88,8 @@ function detectSandboxMethod(): SandboxMethod { // double-umount removes both layers, then a clean mount gives only sandbox PIDs. // on unprivileged systems where umount fails, --mount-proc still provides isolation // (the agent also can't umount in that case). -const PROC_CLEANUP = "umount /proc 2>/dev/null; umount /proc 2>/dev/null; mount -t proc proc /proc 2>/dev/null;"; +const PROC_CLEANUP = + "umount /proc 2>/dev/null; umount /proc 2>/dev/null; mount -t proc proc /proc 2>/dev/null;"; function spawnShell(params: SpawnParams): ChildProcess { const spawnOpts = { env: params.env, cwd: params.cwd, stdio: params.stdio, detached: true };