Skip to content

Commit

Permalink
next take on #2620 - not reproducable here
Browse files Browse the repository at this point in the history
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.
4 changes: 3 additions & 1 deletion src/plugins/grass/qgsgrassmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() ) );
Expand Down

0 comments on commit 8f0a0d9

Please sign in to comment.