[Interest] how to restart QProcess after it fails?
Thiago Macieira
thiago.macieira at intel.com
Sat Jun 1 18:09:34 CEST 2019
On Saturday, 1 June 2019 00:26:49 PDT Frank Rueter | OHUfx wrote:
> I also connect QProcess.stateChanged to another slot which looks like this:
>
> def __retry_process(self, process_state):
Don't do it from inside that slot. The problem is that the state is still
changing.
Do it at any point after. I recommend using a timer with a non-zero amount of
time, to ensure you're backing off.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Interest
mailing list