Patch #2305 2007-12-30 00:20

auria

[OS X] launched programs should not appear behind C::B
Download
2305-OS_X_launched.patch (573 bytes)
Category
Platform-Specific
Status
Closed
Close date
2008-03-12 21:19
Assigned to
afb
Index: globals.cpp
===================================================================
--- globals.cpp    (revision 4764)
+++ globals.cpp    (working copy)
@@ -59,7 +59,7 @@
 #ifndef __WXMAC__
 const wxString DEFAULT_CONSOLE_TERM  = _T("xterm -T $TITLE -e");
 #else
-const wxString DEFAULT_CONSOLE_TERM  = _T("osascript -e 'tell app \"Terminal\" to do script \"$SCRIPT\"'");
+const wxString DEFAULT_CONSOLE_TERM  = _T("osascript -e 'tell app \"Terminal\"' -e 'activate' -e 'do script \"$SCRIPT\"' -e 'end tell'");
 #endif
 const wxString DEFAULT_CONSOLE_SHELL = _T("/bin/sh -c");
afb 2008-03-12 21:19

Fixed in r4945, thanks!