/** * #3851: stdout/stderr writes to a pipe are asynchronous on POSIX, so the * `process.exit()` calls that follow a command (bin wrappers, CLI.run error * paths, commands that exit themselves) discard whatever the consumer has not * read yet, i.e. everything past the pipe buffer (64 KiB). Switching the pipe * handles to blocking mode makes every write complete before it returns, so * every exit path is safe. Same technique as the MCP stdio server. * Files and TTYs are already synchronous and are left alone. */ export declare function ensureBlockingStdio(): void; //# sourceMappingURL=blocking-stdio.d.ts.map