What You’ll Learn in This Hour:
• What a process is
• Sending signals to a process
• Creating executable scripts with Node.js
• Passing arguments to a process
Whenever you run anything on a computer, you are running a process. If you have a browser open, you have at least one, and probably more than one, process running for the browser to do its work. As you have learned, Node.js runs on one process, so when you run a Node.js program, it runs on a single process. Operating systems assign processes an id that is sometimes referred to as the pid or process id. This is a unique number assigned to the process for as long as it is alive.
With the Process module, Node.js allows developers to discover ...