In mainwindow.h, i have a private QProcess p1.

In mainwindow.cpp, I run a command by p1.start(cmd). Both <finished> and <started> signals have been handled. After getting <started> signal, "started" message is printed to output.

When <finished> signal was received, in some times after that i run again cmd by p1.start(cmd).
But now in output i see two "started" messages.

If i run again p1.start(cmd) after finishing it for third times, i see three "started" message in output.

I debug and find out that the function handles <started> signal, is called second times, third times, ... .

Why does it happen?

Thank you for helping.