Hello,

I want to start an external applilcation which should act independent from my Qt4 program. So I use the static method QProcess::startDetached().
Example:
Qt Code:
  1. QString callCmd_qs(tr("kcalc"));
  2. qDebug("start external Programm %s", callCmd_qs.toAscii().data() );
  3. QProcess::startDetached(callCmd_qs);
  4. qDebug("external Programm %s startet", callCmd_qs.toAscii().data() );
To copy to clipboard, switch view to plain text mode 
Under Windows this works fine. Under Linux by the same cpp-Code, execution of the code stops after the call of QProcess::startDetached(callCmd_qs). After closing the external application the code does not go on.

I have written an other Qt4 program without GUI for Linux there this code part works fine.

Has anyone an idea about this behaviour?

Under Linux I use Qt 4.0.5 with gcc 4.0.3 and under windows Qt 4.0.1 with gcc 3.4.2.