Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (55.6k points)

Can anyone explain the event loop in Node Js?

1 Answer

0 votes
by (119k points)

The Node.js child process module helps us to spawn child processes in a similar manner to popen(3).

The following are the three major way to create child process:

  • child_process.exec() method: This method runs a command in a shell/console and buffers the output.
  • child_process.spawn() method: This method creates a new process with a given command.
  • child_process.fork() method: This method is a special case of spawn() method to create node child processes.

If you want to learn Node Js from an online course, then enroll in this Node Js Certification by Intellipaat.

Also, watch this video on Node Js:

Related questions

0 votes
1 answer
asked Sep 9, 2020 in Web Technology by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Sep 9, 2020 in Web Technology by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Sep 9, 2020 in Web Technology by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Sep 9, 2020 in Web Technology by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Jun 17, 2020 in Web Technology by Sudhir_1997 (55.6k points)

Browse Categories

...