title: Node.js alternative to PHP's exec
body: <p>I want to write a piece of <code>C</code> software (like prime number factorization) and place it on my web-server (based on <code>Node.js</code>).
  Then I would like to have an <code>HTML</code>-document with a form and a button. </p>
  
  <p>When the button is clicked the <code>C</code>-program should be executed (on the server) with the a text-field of the form passed as input parameter. The 
  output of the <code>C</code>-program should be passed to an <code>HTML</code>-textfield again. </p>
  
  <p>In <code>PHP</code> something like this is possible:</p>
  
  <pre><code>&lt;?php
  exec('~/tools/myprog.o');
  ?&gt;
  </code></pre>
  
  <p>How would I go about something like this in <code>Node.js</code> (<code>Express.js</code> is fine as well). Especially the input/output redirection?</p>