id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
266,waitForFinished() doesn't work,diver,,"I think there is a problem with waitForFinished() in 4.7

Scribus fails when trying to check if Ghostscript exists:

The code snippet is:
bool testGSAvailability( const QString& gsPath )
{
fprintf(stderr,""testGSAvailability( const QString& gsPath )\n"");
	QStringList args;
	args.append( ""-h"" );
	QProcess proc;

qDebug() << gsPath;
qDebug() << getShortPathName(gsPath);
	proc.start(getShortPathName(gsPath), args);

	if (!proc.waitForStarted(5000))
		return false;
	proc.waitForFinished(5000);
	return (proc.exitCode()==0);
}
gsPath is e:/gs/gs8.71/bin/gsos2.exe and args = -h

proc.waitForFinished(5000) never returns.  when I add a debug printf before and after it, only the first one prints...",defect,closed,major,Qt 4.next,General,4.7.3,low,invalid,,psmedley
