[ python-Bugs-1666952 ] terminalcommand doesn't work under Darwin

SourceForge.net noreply at sourceforge.net
Fri Feb 23 11:31:52 CET 2007


Bugs item #1666952, was opened at 2007-02-23 11:29
Message generated for change (Comment added) made by jneb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1666952&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jurjen N.E. Bos (jneb)
Assigned to: Nobody/Anonymous (nobody)
Summary: terminalcommand doesn't work under Darwin

Initial Comment:
The "terminalcommand" library doesn't work under Darwin. It raises an obscure AppleScript error that I can't figure out.
I made a tiny library that gives roughly the same API, but starts applications fine under Darwin (10.2 and up). It works using the osascript command, but Jack can probably get it too work using OSA directly :-)
Quotes, spaces and backslashes are handled properly.
I would recommend to extend terminalcommand to incorporate this code in the Darwin case, assuming that you still want to support OS9.


----------------------------------------------------------------------

>Comment By: Jurjen N.E. Bos (jneb)
Date: 2007-02-23 11:31

Message:
Logged In: YES 
user_id=446428
Originator: YES

O yes: forgot to mention:
The bug is for Mac only, any version of Python, OS X and up.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1666952&group_id=5470


More information about the Python-bugs-list mailing list