Skip to content

Commit

Permalink
fix #2620
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13235 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 4, 2010
1 parent 6f67cf2 commit a120dc3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plugins/grass/qgsgrassmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ QStringList QgsGrassModule::execArguments( QString module )
return arguments;
}

#if defined(WIN32)
if ( exe.endsWith( ".py" ) )
{
arguments.append( "python" );
}
#endif

arguments.append( exe );

return arguments;
Expand Down

0 comments on commit a120dc3

Please sign in to comment.