Ok. Maybe this will be stupid question, but I need to ask - when child process is exiting what is happening with the pointer and all reserved memory for that process? You said that I'm probably deleting same object twice, so I removed one line to see what will happen:

Qt Code:
  1. connect(proc, SIGNAL(finished(int)),this, SLOT(deleteLater()));
To copy to clipboard, switch view to plain text mode 

And now it seems everything looks fine but I don't know if I'm doing some mess in memory. So I need to know Is everything being delete when I'm closing child application.

thanks in advance
best regards
Tomasz