title: what is the difference between popen() and system() in C
body: <p>I want to execute a binary within my C code. Which is better to execute with? <code>popen()</code> or <code>system()</code></p>
  
  <p><strong>EDIT</strong>: I tried to use <code>system</code>, but the process executing seems to get stuck in the end and does not return to my code. </p>
  
  <p>Any suggestions on what to do?</p>
  
  <p>Thanks</p>