title: Running Node.js command produces no output and does not exit
body: <p>so the following code isnt working for the ping command. Any suggestions?</p>
  
  <pre><code>var target = "8.8.8.8";
  var exec = require('child_process').exec;
  function puts(error, stdout, stderr) { console.log(stdout) }
  exec("ping 8.8.8.8", puts);
  </code></pre>
  
  <p>Thanks guys!</p>