Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.0.0 Alpha
-
-
Qt Installer Sprint 26
Description
When running the installer CLI through an SSH command, then there is no TTY attached, so the installer waiting for input is just going to block.
On Windows, it blocks; on Linux, it doesn't block and just runs in an infinite loop when asking a question.
The installer should discover that there is no TTY, and exit instead.
However see QTBUG-86465.
Attachments
For Gerrit Dashboard: QTIFW-1949 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
332001,3 | CLI: Exit when expecting user input and the output device is not a TTY | master | installer-framework/installer-framework | Status: MERGED | +2 | 0 |
332003,2 | CLI: Use PackageManagerCore::readConsoleLine() for OS obligations query | master | qtsdk/tqtc-qtsdk-installer-extensions | Status: MERGED | +2 | 0 |