fix: flush CLI stdio before forced exit

This commit is contained in:
clawsweeper 2026-06-23 08:55:54 +00:00
parent 65e4051662
commit 100c364cf6

View File

@ -88,6 +88,7 @@ if (!cleanupWriteSeen) {
cwd: process.cwd(),
env: process.env,
maxBuffer: 1024 * 1024,
timeout: 15000,
},
(error, stdout, stderr) => {
const code = typeof error?.code === 'number' ? error.code : 0;