diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-05-02 21:42:35 (GMT) |
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-05-02 21:42:35 (GMT) |
| commit | f2ef92cee70de65f6f963fc4ffd3ac5729a19d90 (patch) | |
| tree | 000d4072b1cc224b56048ce137fd8090113bc21d /Lib/plat-mac/terminalcommand.py | |
| parent | 6780a9dd9f8e8c79b9215e1f6e98cb5f711561bc (diff) | |
| download | cpython-f2ef92cee70de65f6f963fc4ffd3ac5729a19d90.zip cpython-f2ef92cee70de65f6f963fc4ffd3ac5729a19d90.tar.gz cpython-f2ef92cee70de65f6f963fc4ffd3ac5729a19d90.tar.bz2 | |
Fix for #1905: PythonLauncher not working correctly on OSX 10.5/Leopard
This fixes both Python Launchar and the terminalcommand module.
Diffstat (limited to 'Lib/plat-mac/terminalcommand.py')
| -rw-r--r-- | Lib/plat-mac/terminalcommand.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/terminalcommand.py b/Lib/plat-mac/terminalcommand.py index 292f09c..480797b 100644 --- a/Lib/plat-mac/terminalcommand.py +++ b/Lib/plat-mac/terminalcommand.py @@ -27,7 +27,7 @@ SEND_MODE = kAENoReply # kAEWaitReply hangs when run from Terminal.app itself def run(command): """Run a shell command in a new Terminal.app window.""" - termAddress = AE.AECreateDesc(typeApplSignature, TERMINAL_SIG) + termAddress = AE.AECreateDesc(typeApplicationBundleID, "com.apple.Terminal") theEvent = AE.AECreateAppleEvent(kAECoreSuite, kAEDoScript, termAddress, kAutoGenerateReturnID, kAnyTransactionID) commandDesc = AE.AECreateDesc(typeChar, command) |
