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.
You can open any application like this example
import os os.system("open /Applications/Google\ Chrome.app") os.system("open /Applications/Todoist.app") os.system("open /Applications/WhatsApp.app")