Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29354

Starting a terminal application multiple times can get unexpected input

    XMLWordPrintable

Details

    • macOS
    • f23103467 (11.0)

    Description

      Switch to using Terminal.app / external terminal.

      Use a console app that reads input from cin, like

      #include <iostream>
      #include <string>
      
      int main(int argc, char *argv[])
      {
          std::string s;
          std::cout << "Enter something: ";
          std::cin >> s;
          std::cout << "You entered: " << s << std::endl;
          return 0;
      }
      

      Start it multiple times without closing the old instance.

      Sometime the application prints "You entered: echo", and closes

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            madwinter Marcus Tillmanns
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes