forked from qt-creator/qt-creator
Terminal: Remove unnecessary echo
Fixes: QTCREATORBUG-29354 Change-Id: Ie6ddd127fecef3f48e56ca17335b21afaab31365 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -24,9 +24,8 @@ ProcessStubCreator::ProcessStubCreator(TerminalInterface *interface)
|
|||||||
static const QLatin1String TerminalAppScript{R"(
|
static const QLatin1String TerminalAppScript{R"(
|
||||||
tell application "Terminal"
|
tell application "Terminal"
|
||||||
activate
|
activate
|
||||||
set newTab to do script "echo Preparing terminal..."
|
set newTab to do script "%1 && exit"
|
||||||
set win to (the id of window 1 where its tab 1 = newTab) as text
|
set win to (the id of window 1 where its tab 1 = newTab) as text
|
||||||
do script "%1 && exit" in newTab
|
|
||||||
repeat until ((count of processes of newTab) = 0)
|
repeat until ((count of processes of newTab) = 0)
|
||||||
delay 0.1
|
delay 0.1
|
||||||
end repeat
|
end repeat
|
||||||
|
Reference in New Issue
Block a user