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

send additionally a process id in QProcess signal

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Ubuntu Linux 11.04

    • Technical Risk:
      Normal

      Description

      A great thing would be to update QProcess signals. For now if you want to start multiple process in a loop for example and create QProcess *p = new QProcess(); object at the heap you have no change to find out which process was started, finished or which process has changed its state. So I think the following singals from QProcess class should be updated with an process id to find that out from which process ths signal was emitted.

      samples with process id:

      void error(qint64 pid, QProcess::ProcessError error )
      void finished(qint64 pid, int exitCode, QProcess::ExitStatus exitStatus )
      void started(qint64 pid)
      void stateChanged(qint64 pid, QProcess::ProcessState newState)
      

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            anno Hans Müller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes