From 7980c5aa398b2b911aaa235f486bab72deeba9fe Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 7 Jan 2026 03:53:38 +0000 Subject: [PATCH] Test checkpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-07T03:53:38Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/commands/daemon.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v3/@claude-flow/cli/src/commands/daemon.ts b/v3/@claude-flow/cli/src/commands/daemon.ts index acbaefb5bc..cfedd91cdb 100644 --- a/v3/@claude-flow/cli/src/commands/daemon.ts +++ b/v3/@claude-flow/cli/src/commands/daemon.ts @@ -166,8 +166,8 @@ async function startBackgroundDaemon(projectRoot: string, quiet: boolean): Promi // Save PID fs.writeFileSync(pidFile, String(child.pid)); - // Close log file descriptor in parent - fs.closeSync(logFd); + // Note: Do NOT close logFd here - it would kill the child's stdout/stderr + // The fd will be automatically closed when this process exits if (!quiet) { output.printSuccess(`Daemon started in background (PID: ${child.pid})`);