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

Add support for detaching from a started process (like QProcess::detach())

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P5: Not important
    • None
    • 4.7.1
    • Core: I/O
    • None

    Description

      Sometimes it would be really beneficial to be able to instantiate a QProcess, deal with it the way you want (setup channel modes, read/write, wait for something...) and then later on detach the process.

      An example case in UI Extensions for Mobile project: http://qt.gitorious.org/uiemo/uiemo-preview/blobs/master/src/hbcore/theme/hbthemeclientqt_p.cpp#line69. HbThemeClient currently allocates QProcess on the heap without any parent just to avoid killing the process later on when the QProcess object would be destructed (a known memory leak there)!

      Attachments

        Issue Links

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

          Activity

            People

              cnn Qt Core & Network
              jpnurmi J-P Nurmi
              Votes:
              14 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes