Quote Originally Posted by ChrisW67 View Post
From post 7:
Qt Code:
  1. disconnect(process, SIGNAL(error(QProcess::ProcessError)), 0, 0);
  2. disconnect(process, SIGNAL(finished(int exitCode, QProcess::ExitStatus)), 0,0);
  3. process->kill();
To copy to clipboard, switch view to plain text mode 
should not list the name of the int parameter at line 2. Perhaps this leaves the finished() signal still connected?

Have you tried calling QProcess::terminate() (close gracefully) rather than QProcess::kill() (close with mallet)? I cannot imagine many Windows applications that ignore the WM_CLOSE message sent by terminate()
Sorry that's a typo.. I don't have the name of the int parameter in my actual code.

Regarding QProcess::terminate() vs. QProcess::kill(), the documentation says that "Console applications on Windows that do not run an event loop, or whose event loop does not handle the WM_CLOSE message, can only be terminated by calling kill()." Since, I'm using this program to run any possible program (including console applications) I will have to stick with the "mallet."