Why to use exec method for Child process module?



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

Post New Answer

More Node.js Interview Questions

What is the advantage of using node.js?

1 Answers  


What is blocking and nonblocking API in Node.js and how does it affect the architecture of your applications?

1 Answers  


What are the types of applications that can be built by using Node.js?

1 Answers  


What is Node.js foundation?

1 Answers  


What is socket in node.js?

1 Answers  


Difference between operational and programmer errors in node js?

1 Answers  


What we use buffer class in node.js?

1 Answers  


What are the most popular Node.js ORM?

1 Answers  


How to call node js function from html?

1 Answers  


What is zlib? How do you compress a file in Node.js?

1 Answers  


What are the different types of Streams in node.js?

1 Answers  


How will you read a file using node?

1 Answers  


Categories