title: Running cmd commands and getting results to a string variable
body: <p>How to run a cmd command, and getting the output to a string variable?
  Example: </p>
  
  <pre><code>string result = ExecuteFunction("ipconfig");
  </code></pre>
  
  <p>Now "result" contains:</p>
  
  <pre><code>Windows IP Configuration
  Ethernet adapter Local Area Connection:
  Connection-specific DNS Suffix  . :
  ......
  </code></pre>
  
  <p>This shuld be happening without showing any cmd screen, all from the program.
  Windows platform of course.</p>