forked from qt-creator/qt-creator
macOS: Replace openTerminal.command by python script
This script will become even less trivial in the future, so use an actually usable programming language for it. Change-Id: I4fa1c8d327f97585bf8dde0ffaefc5fac7c1ca18 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -351,7 +351,7 @@ TerminalCommand ConsoleProcess::defaultTerminalEmulator()
|
||||
defaultTerm = []() -> TerminalCommand {
|
||||
if (HostOsInfo::isMacHost()) {
|
||||
const QString termCmd = QCoreApplication::applicationDirPath()
|
||||
+ "/../Resources/scripts/openTerminal.command";
|
||||
+ "/../Resources/scripts/openTerminal.py";
|
||||
if (QFileInfo::exists(termCmd))
|
||||
return {termCmd, "", ""};
|
||||
return {"/usr/X11/bin/xterm", "", "-e"};
|
||||
|
||||
Reference in New Issue
Block a user