title: Python: subprocess and running a bash script with multiple arguments
body: <p>How do I go about running a bash script using the subprocess module, to which I must give several arguments?</p>
  
  <p>This is what I'm currently using:</p>
  
  <pre><code>subprocess.Popen(['/my/file/path/programname.sh', 'arg1 arg2 %s' % arg3], \
      shell = True)
  </code></pre>
  
  <p>The bash script seems not to be taking any of the parameters in. Any insights are greatly appreciated!</p>