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