From 83559c6f06a8c394061ff15a08e4623b49612791 Mon Sep 17 00:00:00 2001 From: Jon Hemstreet Date: Thu, 22 Oct 2026 15:26:50 -0600 Subject: [PATCH] The sweep's timeout kills its own VFP, not every VFP on the machine --- scripts/vfp-expected.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vfp-expected.mjs b/scripts/vfp-expected.mjs index 94811ff..70f3a1d 100644 --- a/scripts/vfp-expected.mjs +++ b/scripts/vfp-expected.mjs @@ -212,7 +212,7 @@ export async function askVfp(source, { timeoutMs = TIMEOUT_MS } = {}) { // it may already be gone; the taskkill below is what actually ends a modal one } try { - execFileSync('taskkill', ['/IM', 'vfp9.exe', '/F'], { stdio: 'ignore' }); + execFileSync('taskkill', ['/PID', String(child.pid), '/T', '/F'], { stdio: 'ignore' }); } catch { // no VFP left to kill, which is the good case }