 <p>The wildcard * has to be interpreted by the SHELL. When you run subprocess.call, by default it doesn't load a shell, but you can give it <code>shell=True</code> as an argument:</p> <pre><code>subprocess.call("mock *.src.rpm".split(), shell=True) </code></pre>