1.1 --- a/xsltproc.cpp Mon Feb 19 12:01:52 2007 +0000
1.2 +++ b/xsltproc.cpp Mon Feb 19 12:01:54 2007 +0000
1.3 @@ -65,7 +65,9 @@
1.4 args << outputFile;
1.5 args << xslFile;
1.6 args << inputFile;
1.7 - dia.append ("vym is executing: \n" + xsltprocessor+" "+args.join(" ") );
1.8 + QString com=xsltprocessor+" "+args.join(" ");
1.9 + //cout <<com.ascii()<<endl;
1.10 + dia.append ("vym is executing: \n" + com );
1.11 xsltProc->start(xsltprocessor,args);
1.12 if (!xsltProc->waitForStarted() )
1.13 {
1.14 @@ -73,8 +75,7 @@
1.15 QObject::tr("Could not start %1").arg(xsltprocessor) );
1.16 } else
1.17 {
1.18 - xsltProc->waitFinished();
1.19 - if (xsltProc->exitStatus()!=QProcess::NormalExit )
1.20 + if (!xsltProc->waitForFinished())
1.21 QMessageBox::critical( 0, QObject::tr( "Critical Error" ),
1.22 QObject::tr("%1 didn't exit normally").arg(xsltprocessor) +
1.23 xsltProc->getErrout() );