We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ad44151 commit 991a3e2Copy full SHA for 991a3e2
src/providers/grass/qgsgrass.cpp
@@ -203,7 +203,10 @@ void QgsGrass::init( void )
203
QProcess p;
204
p.start ( pagers.at(i) );
205
p.waitForStarted();
206
- state = p.state();
+ state = p.state();
207
+ p.write("\004"); // Ctrl-D
208
+ p.closeWriteChannel();
209
+ p.waitForFinished(1000);
210
p.kill();
211
212
if ( state == QProcess::Running )
0 commit comments