O'Reilly logo

Sams Teach Yourself Node.js in 24 Hours by George Ornbo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 17. The Child Process Module

What You’ll Learn in This Hour:

• What child processes are

• Creating child processes with Node.js

• Running a system command using a child process

• Managing child processes

What Is a Child Process?

In Hour 16, “The Process Module,” you saw how Node.js provides a module to allow you to run and manage a Node.js process. You may also need to create child processes from your Node.js process, and the Child Process module gives you the tools you need to do this. A child process is simply one created by another process. The process that created the child process is referred to as the parent. A parent can have many child processes, but a child process can only have one parent. Some scenarios where you might want ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required