I don't know how to execute an EXE file in Node.js. Here is the code I am using. It is not working and doesn't print anything. Is there any possible way to execute an EXE file using the command line?
var fun = function() {
console.log("rrrr");
exec('CALL hai.exe', function(err, data) {
console.log(err)
console.log(data.toString());
});
}
fun();