Why to use exec method for Child process module?
Answer / Aakash Bajpai
The `exec` method in Node.js's child_process module is used when you want to execute a system command as a separate process and capture its output.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the advantage of using node.js?
What is blocking and nonblocking API in Node.js and how does it affect the architecture of your applications?
What are the types of applications that can be built by using Node.js?
What is Node.js foundation?
What is socket in node.js?
Difference between operational and programmer errors in node js?
What we use buffer class in node.js?
What are the most popular Node.js ORM?
How to call node js function from html?
What is zlib? How do you compress a file in Node.js?
What are the different types of Streams in node.js?
How will you read a file using node?