title: How to open an application in Mac OS using Python
body: <p>I want to open an application like TextEdit or Firefox in Mac OS using Python and wait till the applications exits. I can't figure out exact command to open an app and wait.</p>