title: use command `osascript -e 'quit app "Quicktime Player 7"'` with python
body: <p>I am using <code>osascript -e 'quit app "Quicktime Player 7"'</code> in OSX Terminal to close the Quicktime Player 7 application, which works well, but can't get this same command working using python. What am I doing wrong?</p>
  
  <p>This just runs, but does nothing:</p>
  
  <pre><code>command = ['osascript', '-e', 'quit app', 'Quicktime Player 7']
  p = subprocess.Popen(command)
  </code></pre>