child_process मॉड्यूल Node को अन्य प्रोग्राम्स/कमांड (शेल कमांड, स्क्रिप्ट, अन्य बाइनरी) को अलग OS प्रक्रिया के रूप में चलाने देता है। सिस्टम टूल्स (git, ffmpeg) को आमंत्रित करने, CPU-भारी कार्य को मुख्य प्रक्रिया के बाहर चलाने, या अन्य प्रोग्राम्स को समन्वित करने के लिए उपयोगी है।
चार मुख्य तरीके
exec → run a shell command, buffer all output (simple, small output)
execFile → run a file directly (no shell — safer, faster)
spawn → stream output (for large output / long-running processes)
fork → spawn a new NODE process with an IPC channel (Node-to-Node)
