From xradiograph

NodeJs: Child Process

If you want to execute another script, it might be a fork of a child process:




TODO: maybe some links about child process, etc.


Why do this?


In a project I was working on, I already had something happening in a named file, and I wanted it launched by index.js without moving code there, or renaming it.


There are certainly useful use-cases out there.

Retrieved from
Page last modified on April 01, 2015, at 04:18 PM