Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92907

Provide easier handling of stdin/stdout for spawned QCoreApplication

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Core: I/O
    • None

      stdin/stdout handling of the parent process is nicely abstracted away with QProcess.

      On the other hand, getting this right for the child process is quite error prone:

      • reading blocks when stdin is opened using a file descriptor (QTBUG-92905)
      • each read causes 1 F_GETFL and 2 F_SETFL fnctl calls
      • writing is buffered when stdout is opened using a file handle, an explicit flush is necessary (QTBUG-92906)

        For Gerrit Dashboard: QTBUG-92907
        # Subject Branch Project Status CR V

            vhilshei Volker Hilsheimer
            bruns Stefan BrĂ¼ns
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes