`node:child_process` lets a Node script launch other programs: `exec`/`execFile` (buffer all output, callback-based), `spawn` (streams output incrementally, best for long-running or large-output processes), and `fork` (spawns another Node.js process with a built-in IPC channel).
js
import { spawn } from "node:child_process";
const child = spawn("node", ["--version"]);
child.stdout.on("data", (chunk) => console.log("stdout:", chunk.toString()));
child.on("close", (code) => console.log("exited with", code));`fork` is the pattern used to offload CPU-heavy work (e.g. verifying signatures in bulk) to a separate process while the main process keeps serving requests, communicating via `process.send`/`on("message")`.