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

Support for process groups

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • Some future release
    • 4.0.0
    • Core: I/O
    • None

      If QProcess (or a separate class) would have an API to create process groups (job objects on Windows), then QProcess::kill() and tryTerminate() could be used to kill not only the started process, but also all child processes of that processes.

      I.e. when terminating "make" then all the started compiler jobs should also be terminated.

      Here's some more information about process groups:

      http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC26
      http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/job_objects.asp

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

            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes