title: Python - Calling popen with many arguments
body: <p>I'm attempting to call popen with a list of arguments.</p>
  
  <pre><code>    execString = "java -jar {} {} {} {} {} {}".format(os.path.join(config.java_root,
                                                                     config.java_jar),
                                                 self.canvasSize,
                                                 self.flightId,
                                                 self.domain,
                                                 self.defPath,
                                                 self.harPath)
      execStringList = execString.split()
      print execStringList
      subprocess.Popen([execStringList])
  </code></pre>
  
  <p>execStringList is:</p>
  
  <pre><code>['java', '-jar', '/Users/me/Projects/reporting-test/build/clickunit-0.1.jar', '300x1050', '123', 'dev.me.net', '/Users/me/Projects/reporting-test/src/definitions/300x1050.yml', '/Users/me/Projects/reporting-test/out/01/15112']
  </code></pre>
  
  <p>Which according to: <a href="https://stackoverflow.com/questions/901982/python-oserror-errno-2">Python OSError: [Errno 2]</a> is the correct format. However, I get the following error:</p>
  
  <pre><code>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
  AttributeError: 'list' object has no attribute 'rfind'
  </code></pre>
  
  <p>If I treat the execString as a string, I get a different error:</p>
  
  <pre><code>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
  OSError: [Errno 2] No such file or directory
  </code></pre>
  
  <p>Even though if I run this command from terminal, it works.</p>
  
  <pre><code>$&gt; java -jar /Users/me/Projects/reporting-test/build/clickunit-0.1.jar 300x1050 123 dev.me.net /Users/me/Projects/reporting-test/src/definitions/300x1050.yml /Users/me/Projects/reporting-test/out/01/3727
  </code></pre>
  
  <p>TIA for the help!</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>EDIT EDIT</p>
  
  <p>NEVERMIND, I see the issue. []...thanks! heheh</p>