forked from qt-creator/qt-creator
ProjectExplorer: When running in the terminal on macOS, make it close
... after the application has finished and the user pressed the return key as requested. Fixes: QTCREATORBUG-15138 Change-Id: Id5b9fce553eb96b10aa76ccbd87fb66f02218110 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -105,7 +105,8 @@ def main():
|
||||
login_script() +
|
||||
'cd ' + quote_shell(os.getcwd()) + '\n' +
|
||||
' '.join([quote_shell(arg) for arg in sys.argv[1:]]) + '\n' +
|
||||
'rm ' + quoted_shell_script + '\n'
|
||||
'rm ' + quoted_shell_script + '\n' +
|
||||
'exit\n' if len(sys.argv) > 1 else ''
|
||||
)
|
||||
shell_script.write(commands)
|
||||
shell_script.flush()
|
||||
|
Reference in New Issue
Block a user