[Interest] how to restart QProcess after it fails?
Frank Rueter | OHUfx
frank at ohufx.com
Sun Jun 2 06:00:38 CEST 2019
that seems to have solved it, i.e. having the slot call a single shot
timer which triggers the re-run.
On 2/06/19 4:09 AM, Thiago Macieira wrote:
> 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
> Do it at any point after. I recommend using a timer with a non-zero amount of
> time, to ensure you're backing off.
More information about the Interest