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

Windows : The result obtained by the QProcess component in a synchronous manner is empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 6.2.2
    • Core: I/O
    • None
    • build: Qt6.2.2 MSVC2019 64bit
      run : win11 (21H2 OS 22000.675)
    • Windows

    Description

      hello
      The following code is built with Qt6.2.2 MSVC2019 64bit and runs on win11 (21H2 OS 22000.675) system
      I start powershell and run the docker command
      Among them, I get the execution result in a synchronous way (waitForReadyRead), but the read result is empty
      Then I get the execution result in an asynchronous way (readyread signal), but at this time I can get
      why is this
      The following is the code (illustration and text description)
      Note: The shell object life cycle is the program life cycle

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            lycorisradiata once king
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes