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

SourceForge.net noreply at sourceforge.net
Thu Jul 12 12:29:07 CEST 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: Macintosh
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jurjen N.E. Bos (jneb)
Assigned to: Jack Jansen (jackjansen)
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-07-12 12:29

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

It is an Intel MacBook Pro. I though I ran 10.4.9 at the time, but I guess
that is not an issue.


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

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2007-07-12 07:38

Message:
Logged In: YES 
user_id=580910
Originator: NO

Are you using an Intel or PPC mac?

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

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