
Originally Posted by
nupul
already done that...in fact i get a warning msg displaying object destroyed while process is still running...and thus chose startDetached(...)
Maybe you could stick a few lines of code (or pseudo

)to explain what i should do!
Thanks
Nupul
Oops, that should be:
connect(launch_prog,
SIGNAL(finished
(int,
QProcess::ExitStatus) ),
launch_prog,
SLOT(deleteLater()));
launch_prog->start(path);
QApplication::setOverrideCursor(Qt::BusyCursor);
QProcess* launch_prog = new QProcess(this);
connect(launch_prog,
SIGNAL(finished(int, QProcess::ExitStatus) ),
launch_prog,
SLOT(deleteLater()));
launch_prog->start(path);
QApplication::restoreOverrideCursor();
To copy to clipboard, switch view to plain text mode
Bookmarks