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

QProcess::execute()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • Some future release
    • None
    • Core: I/O
    • None

    Description

      QProcess::execute() starts a process and returns the error code of the process. If the process that was tried to start fails to start, then the error code 0 is returned, which makes the returned value mostly useless - you would never know whether the process failed to start or exited successfully. The function should return -1 for failed to start processes. This would be consistent with ::system() behavior.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes