Search across all documentation pages
4 pages in this section.
When to spawn a child vs stay in-process.
`spawn`, `exec`, stdio, and shell injection risks.
SharedArrayBuffer, `workerData`, and CPU-bound tasks.
Sanitize shell commands; prefer `spawn` with argument arrays.