Skip to content
Permalink
Browse files
next take on #2620 - not reproducable here
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13475 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 13, 2010
1 parent 60f311d commit 54a23062467712dfe12155e982300e58702f31d3
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/plugins/grass/qgsgrassmodule.cpp
@@ -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 54a2306

Please sign in to comment.