How to run a batch file in Node.js with input and get an output ?
In this article, we are going to see how can you run a batch file with input and get an output file in Node.js. A batch file is a script file that stores command to be executed in a serial order.Node.js is asynchronous in nature, it doesn't wait for the batch file to finish its execution. Instead, i