| Node.js Child Process
Node.js Child Process
When we say about the child process module, this will provides the ability to spawn child processes in similar manner to popen(3).
There are three major way to create child process:
- child_process.exec() method:-This method will runs a command in a console and buffers the output.
- child_process.spawn() method:-This method will launches a new process with a given command.
- child_process.fork() method:-This method is a special case of spawn() method to create child processes.
| | |