Details
-
Suggestion
-
Resolution: Out of scope
-
P5: Not important
-
None
-
4.7.1
-
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
- relates to
-
QTBUG-2284 QProcess::startDetached does not support setting an environment for the new process
-
- Closed
-