starting and stopping mac applications using python
<pre><code>os.system("open /Applications/Mail.app")
</code></pre>

<p>I'm able to open mac applications using the above statement(though not able to open applications which include spaces in their name. eg.Photo Booth).</p>

<p>But I cannot find a method to close apps.How do i do that? Googled a lot but all the solutions mentioned were for windows.</p>
