Skip to content
Permalink
Browse files
next take on #2620 - not reproducable here
git-svn-id: http://svn.osgeo.org/qgis/trunk@13475 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 13, 2010
1 parent 7a21742 commit 8f0a0d9
Showing 1 changed file with 3 additions and 1 deletion.
@@ -333,7 +333,9 @@ QgsGrassModuleStandardOptions::QgsGrassModuleStandardOptions(

// ? Does binary on Win need .exe extension ?
// Return code 255 (-1) was correct in GRASS < 6.1.0
if ( !process.waitForFinished()
if ( !process.waitForStarted()
|| !process.waitForReadyRead()
|| !process.waitForFinished()
|| ( process.exitCode() != 0 && process.exitCode() != 255 ) )
{
QgsDebugMsg( "process.exitCode() = " + QString::number( process.exitCode() ) );

0 comments on commit 8f0a0d9

Please sign in to comment.