Node Process & Node process.argv Flashcards
What is a computer process?
Is theinstanceof acomputer programthat is being executed by one or many threads.
In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by a scheduler, which is typically a part of the operating system.
Roughly how many computer processes are running on your host operating system (Task Manager or Activity Monitor)?
Roughly 450 processes…
Why should a full stack Web developer know that computer processes exist?
A full stack Web developers make an application where multiple processes work together
What is theprocessobject in a Node.js program?
Theprocessobject is aglobalthat provides information about, and control over, the current Node.js process.
How do you access theprocessobject in a Node.js program?
Just reference it. As a global, it is always available to Node.js applications without usingrequire().
What is the data type ofprocess.argvin Node.js?
An array of Strings
What is the alias of “process.stdout.write(‘’)”
console.log(‘’)