Hello,
I've got a problem with a QProcess.
My MainWindow class calls StartProcessClass. StartProcessClass initalizes a QProcess* member. Then, MainWindow tells the class to start the process (with start(appName), NOT startDetached(appName)).
When I close my MainWindow, I call a slot in StartProcessClass that sends the process a terminate() and closes the MainWindow.
No threads in this context (another subclas of MainWindow has threads, but in no relation to the process class).
Even in the process tree I can clearly see that the appName created process is a child of my program. But when the parent closes, the child doesn't. It's driving me nuts. Any idea?
Bookmarks