# node:child_process

> Node's subprocess module, including fork() with IPC between Elide scripts.

`node:child_process` matches Node: `spawn`, `exec`, `execFile`, their `Sync` forms, `fork`, and `ChildProcess`.

- `fork()` starts another Elide script; `child.send()` and `process.send()` exchange `message` events.
- `process.execPath` runs Elide: `execFileSync(process.execPath, ["--snippet", 'process.stdout.write("hi")'])`.
- `--allow-run` and `--deny-run` apply under the [sandbox](https://elide.help/docs/sandbox).
