diff -r 5db8dfd30ea2 -r c2a05fa925a1 exportxhtmldialog.cpp --- a/exportxhtmldialog.cpp Thu Nov 23 16:18:26 2006 +0000 +++ b/exportxhtmldialog.cpp Fri Dec 08 20:18:56 2006 +0000 @@ -386,17 +386,16 @@ spath.replace ("%f",fpath); QStringList args=QStringList::split (' ',spath,false); - scriptProc->clearArguments(); - scriptProc->setArguments (args); - p.addOutput ("vym is executing: \n" + scriptProc->arguments().join(" ") ); - if (!scriptProc->start() ) + p.addOutput ("vym is executing: \n" + spath+" "+args.join(" ") ); + scriptProc->start (spath,args); + if (!scriptProc->waitForStarted() ) { QMessageBox::critical( 0, tr( "Critical Error" ), tr("Could not start %1").arg(spath) ); } else { scriptProc->waitFinished(); - if (!scriptProc->normalExit() ) + if (scriptProc->exitStatus()!=QProcess::NormalExit ) QMessageBox::critical( 0, tr( "Critical Error" ), tr("%1 didn't exit normally").arg(spath) + scriptProc->getErrout() );