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

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

XMLWordPrintable

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

      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)!

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes