title: display the 'ping' output to the browser using child_process
body: <p>How can I Stream the output of the ping to the browser asynchronously, The child_process.spawn() is an async call. But how do I pipe the process to the browser/html ? Any suggestions ?</p>
  
  <p>Here is the code</p>
  
  <pre><code>var spawn = require('child_process').spawn;
      var ping = spawn('ping',['www.google.com'],
      { stdio: ['pipe', process.stdout, process.stderr] });
  </code></pre>