โมดูล child_process ให้ Node สามารถรัน โปรแกรม/คำสั่งอื่น ๆ (คำสั่ง shell สคริปต์ ไฟล์ binary อื่น ๆ) เป็นกระบวนการ OS แยกต่างหาก มีประโยชน์สำหรับเรียกใช้เครื่องมือระบบ รันงานหนักของ 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)
