Files
scriptc/tests/fixtures/console-io/live-stdout.ts
Chris Tate 481dd9c974 fix: flush console output promptly
- Submit console, process, readline, and island writes before returning.
- Add live-pipe and SIGKILL parity coverage against Node 24.
2026-07-26 01:30:42 -05:00

9 lines
272 B
TypeScript

console.log("log-ready");
process.stdout.write("string-ready|");
process.stdout.write(
new Uint8Array([98, 121, 116, 101, 115, 45, 114, 101, 97, 100, 121]),
);
// Keep the child alive so the parent can prove the bytes arrived before exit.
setTimeout(() => {}, 30_000);