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

QProcess emits started() twice on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.x
    • 4.5.2, 4.5.3, 4.6.0
    • Core: I/O
    • None
    • linux
    • 999047177846695a809aa1a730330ce676d85959

    Description

      QProcess emits started() twice on Linux.

      Description:
      bool QProcess::waitForStarted(int msecs)
      calls in the unix version (qprocess_unix.cpp) of
      bool QProcessPrivate::waitForStarted(int msecs)
      the function
      bool QProcessPrivate::_q_startupNotification()
      which emits the signal started().
      And after QProcessPrivate::waitForStarted
      has returned QProcess:waitForStarted emits the signal again.

      This is a simple fix attached.

      Attachments

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

        Activity

          People

            stromme Christian
            syntheticpp Peter Kümmel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes