diff -r 69a4c16bd85b -r f001beefdec2 xsltproc.cpp --- a/xsltproc.cpp Mon Feb 19 12:01:52 2007 +0000 +++ b/xsltproc.cpp Mon Feb 19 12:01:54 2007 +0000 @@ -65,7 +65,9 @@ args << outputFile; args << xslFile; args << inputFile; - dia.append ("vym is executing: \n" + xsltprocessor+" "+args.join(" ") ); + QString com=xsltprocessor+" "+args.join(" "); + //cout <start(xsltprocessor,args); if (!xsltProc->waitForStarted() ) { @@ -73,8 +75,7 @@ QObject::tr("Could not start %1").arg(xsltprocessor) ); } else { - xsltProc->waitFinished(); - if (xsltProc->exitStatus()!=QProcess::NormalExit ) + if (!xsltProc->waitForFinished()) QMessageBox::critical( 0, QObject::tr( "Critical Error" ), QObject::tr("%1 didn't exit normally").arg(xsltprocessor) + xsltProc->getErrout() );