summaryrefslogtreecommitdiff
path: root/Lib/plat-mac/terminalcommand.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2008-05-02 21:42:35 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2008-05-02 21:42:35 +0000
commitf2ef92cee70de65f6f963fc4ffd3ac5729a19d90 (patch)
tree000d4072b1cc224b56048ce137fd8090113bc21d /Lib/plat-mac/terminalcommand.py
parent6780a9dd9f8e8c79b9215e1f6e98cb5f711561bc (diff)
downloadcpython-git-f2ef92cee70de65f6f963fc4ffd3ac5729a19d90.tar.gz
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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/terminalcommand.py b/Lib/plat-mac/terminalcommand.py
index 292f09c7d8..480797b42a 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)