Le 20 juil. 06, à 16:31, has a écrit :

> Kevin Walzer wrote:
>
>> import os
>>
>> os.system('open -a TextEdit.app')
>
> Still ends up sending a run event, unfortunately. The goal is to
> launch the app without it opening an empty document, as 'launch app
> "TextEdit"' does.
>

Try that :

        os.system('osascript -e \'launch application "textedit"\'')

--
Laurent PIERRON

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to