child_process 모듈은 Node가 다른 프로그램/명령(셸 명령, 스크립트, 다른 바이너리)을 별도의 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)
