title: exec() any command in C
body: <p>Say in C, I want to call <code>execvp()</code> on any string command.  Command can just be:</p>
  
  <pre><code>char command[] = "ls -l";
  char command[] = "rm *.txt";
  char command[] = "cat makefile";
  </code></pre>
  
  <p>I want to put this command variable inside <code>execvp()</code>.  So the <code>exec()</code> flavored function can just run with any kind of arbitrary command.</p>
  
  <p>How can I do that?  Thanks.</p>
  
  <p>NOTE: <code>system()</code> is not allowed.</p>