beginner: python subprocess.call with hundreds of args
<p>Disclaimer: I am a beginner in python but have Drupal programming experience.</p>

<p>I have this:</p>

<pre><code>f = ['/path/1.jpg', '/path/2.jpg', '/path/3.jpg'] #less than 1500 files
</code></pre>

<p>and I need to do this</p>

<pre><code>call(['c:/program files/ABBYY FineReader 10/finereader.exe'] + f)
</code></pre>

<p>BUT, there is an argument limit (http://stackoverflow.com/questions/2381241/what-is-the-subprocess-popen-max-length-of-the-args-parameter) of 32K characters, so I need to drop the /path first. How can I proceed, allowing the .exe to locate the files?</p>

<p>Thanks!</p>
