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)
