title: How to execvp ls *.txt in C
body: <p>I'm having issues execvping the *.txt wildcard, and reading this thread - <a href="https://stackoverflow.com/questions/8089351/exec-any-command-in-c">exec() any command in C</a> - indicates that it's difficult because of "globbing" issues. Is there any easy way to get around this?</p>
  
  <p>Here's what I'm trying to do:</p>
  
  <pre><code>char * array[] = {"ls", "*.txt", (char *) NULL };
  execvp("ls", array);
  </code></pre>