I was looking at it for so long, that I couldn't see that the script is running the program AGAIN! I assumed that I needed that in order to QDebug part to be printed, and I was right about that, but forgot the side effects...

Thank you for your help...