mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-23 06:10:02 +08:00
- Submit console, process, readline, and island writes before returning. - Add live-pipe and SIGKILL parity coverage against Node 24.
9 lines
272 B
TypeScript
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);
|