Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
0b2899215fe89e154e9c484d75107f977c766ec2
Description
In this way remove ProcessInterface::waitFor...() methods, as the general implementation should work for all ProcessInterface subclasses.
The idea is that when calling certain QtcProcess::waitFor...() method, the QtcProcess moves temporarily the internal ProcessInterface object into a new thread and use a blocking QWaitCondition for communication with the ProcessInterface. Afterwards the temporary thread moves the ProcessInterface back to the main thread. The communication should look similar to the one implemented between CallerHandle and LauncherHandle.